MaplePrimes Questions

I am making a 2D plot and need to mark certain irregular points on the x-axis, so I managed to put tickmarks (and gridlines) at those points, and somehow Maple even labels each tickmark, which is what I want. 

Except, there is no room along the x-axis for all the labels, so I need the labels to appear vertically at each tickmark.

Is  there any way to do this? The only instructions I can find for vertical labelling just apply to axis labels, not tickmark or gridline labels.


Hola,
How can leave a trail/trace of black point in the yellow and purple screens? Something very similar to the option "animate / trace."

SVD-filtering.mw

Make it possible to take the numerical data of each screen from the "plottools [getdata]"

Gracias

 

Dear Maple Users

I wonder how I can use Maple to solve the problem:

 

for the potential \phi(r). The problem is from the artikle: http://en.wikipedia.org/wiki/Electric-field_screening

I'm particularly puzzled how to implement this differential operator and how to enter the Dirac delta function.

 

Thanks for any hints.

seriestoratpoly(series(simplify(LaguerreL(5, x)),x,6),['egf']);

seriestoratpoly(series(simplify(LaguerreL(5, a, x)),x,6),['egf']);

inverse z transform of sqrt(1-a^2)/(1-a/z)

restart;
alpha := 0;
s := x;
tau := alpha + 1 - x;
source := s*Diff(y(x),x$2)+tau*Diff(y(x),x)+n*y(x)=0;
sol := dsolve(source,y(x),method=laplace);
zsol := ztrans(sol,x,z);
convert(zsol, ratpoly);

sol := y(x) = _C1*invlaplace((_s1-1)^n*_s1^(-1-n), _s1, x)
zsol := ztrans(y(x), x, z) = _C1*invlaplace((_s1-1)^n*_s1^(-1-n)*z/(z-1), _s1, x)
Error, (in convert/ratpoly) expecting a Laurent series or a Chebyshev series

what are _C1 and _s1?

Maple 16:

Given Matrix A of size nRow,nCol, and a vector b of size nCol, I wanted to divide each value in column 
K by b(K) where k=1..nCol and the result will be a matrix B also of size nRow,nCol ofcourse.

For example, I want to do A[..,1]/b[1],  A[..,2]/b[2], etc.. for each column of A

The way I do it now is by using seq(), then convert the result to matrix, like this:


nCol := LinearAlgebra:-ColumnDimension(A):
B    := convert([seq(A[..,i]/b[i],i=1..nCol)],Matrix);

And it works.  But was wondering if there is a better way to do this. I tried to use apply map but did 
not know how to
Here is below the complete Maple 16 code I have:

------------------------
A := LinearAlgebra:-RandomMatrix(3,4);
b := MTM:-sum(A,1);
nCol := LinearAlgebra:-ColumnDimension(A):
B := convert([seq(A[..,i]/b[i],i=1..nCol)],Matrix);
MTM:-sum(B,1);  #verify the sum is 1

Dear Maple Users

I wonder if it is possible to somehow display what kind of substitution the integration tutor carried out. The tool is ultimately usefull, however it would be very instructive (in addition to the hints it's capable of giving) to see how a variable was "changed".

Is it possible somehow and how?

Thanks, Martin 

When I execute several times my maple code the program completely freezes, even though in the beginning of the code teh command "restart" is inserted. I work with matrices, perform integrations and derivations for their components and calculate eigenvalue problems. The freeze happens at no particulat block of execution.

 

Any thoughts?

Hello everyone,

 

In my code I know what size of matrices I can expect and so i declare a matrix before compmputing it's elements in two loops. Is that a good practice?

 

Thanks,

Samy

except kummer representation, can dsolve output simple? or any other method to do this?

s := x;
tau := alpha - 1 - x;
source := s*Diff(y(x),x$2)+tau*Diff(y(x),x)+n*y(x)=0;
sol := dsolve(source,y(x));
target1 :=ztrans(sol,x,z);


when N = 1
target2 := sqrt(1-a^2)/(1-a/z)*((1/z-a)/(1-a/z))^(N-1);

which iterative method does maple use in fsolve command to solve nonlinear slgebraic systems?

When I type
                    printf(cat("Answer: ", sqrt(4)));

The result is Answer: 2. So, everything is OK.

However, if I type
                            printf(cat("Answer: ", sqrt(5)));

I got an error message: (in fprintf) format string expected....

So, I have a list of vectors v1,...v8 - and I want to consider all {0,1}v1 + {0,1}v2+ ... + {0,1}v8 (I need a list of all 2^8 possible combinations). 

 

I can run 8 simple for loops and use the mod command, but that's inconvenient. Is there a nice way to do what I'm trying to get done? 

Hi,

The model that i uploaded (EqQui.msim) has a component with severall output and 4 inputs, but 2 of the inputs (LgKph2o and Lgkpco2) depends on one of the outputs. The 2 interpolation tables transfor the output variable (temperature) in this two inputs. All components works fine independtly (first "model", the one on the top), but if i link the exit of both interpolation tables mapleSim say it cant solve a lot of variables.

Hello everyone,

 

I am coding the assumed modes method for vibration analysis on maple and I don't know why but the code takes veeery long time to execute and give results and I think it should not. There is also anoter very annoying thing. every 3 or 4 executions maple freezes completely and I am not able to find the cause...

I would be gratefull if someone could explain me if in my case it's better to working in floating point or rational values,...

First 1701 1702 1703 1704 1705 1706 1707 Last Page 1703 of 2428