Alger

499 Reputation

16 Badges

11 years, 70 days

MaplePrimes Activity


These are questions asked by Alger

Thank you for the answers

It is very helpful for me

if j_w a vector where elements are [1,5,3,10,2,1,0,4]

with the command "row, col, val := SearchArray(j_w);" I have all information about j_w. Iwant to get just the indices of nonzero where the values of j_w<=3 for example?

Best regards

Hi

In matlab we have this command:

I = FIND(X) returns the linear indices corresponding to the nonzero entries of the array X.

[I,J,V] = FIND(X) also returns a vector V containing the values that correspond to the row and column indices I and J.

Is there a command in Maple like "find" in Matlab

Thanks in advance

Hi all,

How can I write a vertical etiquette (title) in parallel with y axis ?

How can I give a legende inside the plot (inside Figure) ?

How can I make symboles for different curves ?

Thanks in advance

Hi all,

How to plot and animate an expression like this:

f:=x1+a*y1+1; plots[animate](plot, [f, x1 = 0 .. 5, y1 = 0 .. 25, y=0..10],a=0..1, frames=100);

This is just an example for understanding my need.

thanks for help

Dear all,

 I have a problem in programming with maple if statement:

 restart;Qs:=24; p:=20; m:=3; q:=Qs/(2*p*m); if (q=1) then
> yc:=Qs/(2*p); elif (frem(q,1)~=0) then if (evalf(Qs/(2*p))<1) then
> yc:=1; else yc:=floor(Qs/(2*p)); end if; else yc:=round(0.8*Qs/(2*p)); end if; 

The result is yc:=0; the result must be yc:=1;

 In Matlab:

 

First 12 13 14 15 Page 14 of 15