Thomas Richard

Mr. Thomas Richard

3255 Reputation

13 Badges

15 years, 61 days
Maplesoft Europe GmbH
Technical professional in industry or government
Aachen, North Rhine-Westphalia, Germany

MaplePrimes Activity


These are replies submitted by Thomas Richard

I am not sure why this one fails, but since you asked for examples of PDEs with BCs, just enter

?pdsolve,boundaryconditions

It is also linked from the pdsolve main help page. As you can see, it is a large topic, and the class of solved BVPs is expanding.

Since I cannot replicate the error message in Maple 18, I suggest that you install the last update 18.02, available via the "Tools > Check for Updates" menu item, or via your browser from www.maplesoft.com/support/downloads/m18_02update.aspx.

Next, if you're really working with the Physics package (which is not the case in this particular worksheet - the package is only loaded), check out the R&D page www.maplesoft.com/products/maple/features/physicsresearch.aspx and install the latest version (for Maple 18).

@mehdibaghaee No, and I'm afraid there will never be such a tool, because Matlab does not have any worksheet environment. A Maple worksheet typically contains much more than just user procedures and expressions - which is what CodeGeneration can translate.
But perhaps parts of your work can be translated if you describe how your worksheets are structured. Saving as text files (mpl) may be the first step. Next, a script could process them in a systematic way and call CodeGeneration:-Matlab.

@Carl Love I agree that assigning that way is unusual, but why should Maple crash or become slow? It just takes a couple of seconds:

with(LinearAlgebra):
n:=1000:
B:=RandomMatrix(n):
A:=Matrix(n,symbol='a');
assign~(A=~B);

 

The signals are constant because you placed the probes after the demultiplexer...

What precisely do you want to plot? If I got your question right, a Time Table would be sufficient. You won't need any input signal (such as the ramp) then. For a start, I'm uploading a very simple example with two columns: simple_TimeTable_example.msim

If I misinterpreted your description, please be more specific, and (ideally) upload your msim file, with the xlsx file inside.

We have a Math App since Maple 18; probably its Startup code is instructional for you.
To find that App, just type Vigenère into the Search box in the button bar of Maple's GUI. Or enter ?MathApps,VigenereCipher at the Maple prompt.

@Thomas Dean You can save a lot of typing by simply entering

eqset := {e||(1..28)};

And indets(eqset) would have been helpful in pinpointing the problem.

@ngaywood It's "xmaple -nosplash" on Linux (probably on Mac OS X as well), and "maplew /nosplash" on Windows.

I can't say anything about x2go, but for remote X11 connections, we have some tips on speeding up the interface in our FAQ (which doesn't explicitly talk about X11, but should be applicable here).

First of all, for S[2,2] I'm getting (2*)I*z+z^2-1, which factors as (z+I)^2, and cannot reproduce the -4*z^2-(3*I)*z^3+z^4+1+(3*I)*z you report. Which Maple version is that?

But I'm a bit surprised that SmithForm accepted a complex matrix at all, because the documentation (for the second argument) says "specifies the variable in which the entries of A are rational polynomials over Q". Probably that's why you see an error message when querying the reducing matrices U and/or V.

Having said that, you can even avoid the error by modifying the representation of A[1,1] a bit:

with(LinearAlgebra):
A:=Matrix([[I*z-1,z+I],[z+I,z+I]]);
SmithForm(A,z,output=['S']);
A:=factor~(A); # elementwise operation
S,U,V:=SmithForm(A,z,output=['S','U','V']);
Equal(S,U.A.V); # check

Is that what you expected?

@student_md To some extent, you can influence the location by inserting spaces into the label(s), and by specifying the font size:

plot(cos, -Pi..Pi, labels = ["x values", "               y values"], labeldirections = ["horizontal", "vertical"], labelfont=["Courier","roman",16]);

More flexible would be using the plots:-textplot command. Vertical output can be obtained by the plottools:-rotate then.
I haven't tried that in combination, as I never saw the need for anything beyond the standard options for labeling.

@Teep Index i in the second sum is outside the first sum (and hence independent of that). So the result is expected. But in light of your reply, perhaps you wanted a nested sum:

S:=Sum(f[i]*Sum(g[i,j,k],j=0..1),i=0..1);

Apart from that, it seems you replaced f by d, and g by x...

@Changuchholz I have deleted the SPAM link from your answer.

I agree with all of tomleslies's remarks and suggestions, and in addition, I'm wondering why you wrote your own HilbertMatrix routine, as opposed to using the one in the LinearAlgebra package...
By the way, ages ago I wrote a proc for its exact inverse. It was fun to derive the formula for the (i,j) entry in Maple, but I haven't kept that...

Back to your code snippet: when calling IterativeApproximate or IterativeFormula, did you load the Student[NumericalAnalysis] package before?

If it's really Maple 9 that you are using, we should point out that Maple 14 introduced the DifferentialAlgebra package, using external C libraries for time-consuming routines. Please see http://www.maplesoft.com/support/help/Maple/view.aspx?path=DifferentialAlgebra for the documentation.

The old diffalg package is labeled as deprecated since Maple 2015.

First 16 17 18 19 20 21 22 Last Page 18 of 40