vineet_m

5 Reputation

One Badge

12 years, 3 days

MaplePrimes Activity


These are replies submitted by vineet_m

@Markiyan Hirnyk Increment has to be 0.01 for more smooth curve but anyways runtime has reduced significantly. The reason for this in MATLAB is it is explicitly optimized around matrix and vector operations. Maybe this is the same case in Maple.

You've been a GREAT HELP .. Thanks once again.

@Markiyan Hirnyk Increment has to be 0.01 for more smooth curve but anyways runtime has reduced significantly. The reason for this in MATLAB is it is explicitly optimized around matrix and vector operations. Maybe this is the same case in Maple.

You've been a GREAT HELP .. Thanks once again.

@Markiyan Hirnyk can you please share the code ? It would be a great help. Since i m a newbie in maple i don't know how to use it efficiently !

@Markiyan Hirnyk can you please share the code ? It would be a great help. Since i m a newbie in maple i don't know how to use it efficiently !

@Markiyan Hirnyk The runtime seems to be very high. This might be because of loop in t along with a and b. 

In MATLAB I reduced runtime cosmically by matrix operations and then plotting all the points as follow -

1) Created A and B two linearly spaced vectors for various values of a and b. 

2) Created SINVEC & COSVEC lineary spaced vecotors for sin(t) and cos(t), t=0..2*Pi with an increment of 0.01

3) Took Kronecker tensor product of A and SINVEC;B and COSVEC. Suppose they are X and Y.

4) Then simply plotted all points of X and Y.

Maybe this method can be implemented in maple to reduce the runtime. What do you think ?

@Markiyan Hirnyk The runtime seems to be very high. This might be because of loop in t along with a and b. 

In MATLAB I reduced runtime cosmically by matrix operations and then plotting all the points as follow -

1) Created A and B two linearly spaced vectors for various values of a and b. 

2) Created SINVEC & COSVEC lineary spaced vecotors for sin(t) and cos(t), t=0..2*Pi with an increment of 0.01

3) Took Kronecker tensor product of A and SINVEC;B and COSVEC. Suppose they are X and Y.

4) Then simply plotted all points of X and Y.

Maybe this method can be implemented in maple to reduce the runtime. What do you think ?

@Markiyan Hirnyk Thanks so much !!

@Markiyan Hirnyk Thanks so much !!

Sorry but this is not i want. I want plot for ,say a=1..10 b=1..10, on the SAME graph.

Sorry but this is not i want. I want plot for ,say a=1..10 b=1..10, on the SAME graph.

@Markiyan Hirnyk Sorry not helpful.

@Markiyan Hirnyk Sorry not helpful.

The command is very tedious if i want, say suppose, plot for a=1..10 and b=1..10

The command is very tedious if i want, say suppose, plot for a=1..10 and b=1..10

Page 1 of 1