gotamo

50 Reputation

6 Badges

11 years, 112 days

MaplePrimes Activity


These are replies submitted by gotamo

i want maple to replace the back- by frontshlashes. in the meanwhile i found the substituteAll command which works fine: SubstituteAll(Datafile,"\\","/"). (one has to pay attention to the double slash, otherwise it won`t work). thanks for all the replies!

i want maple to replace the back- by frontshlashes. in the meanwhile i found the substituteAll command which works fine: SubstituteAll(Datafile,"\\","/"). (one has to pay attention to the double slash, otherwise it won`t work). thanks for all the replies!

@tatan2501 

the folders are different :-(

indeed, the GlobalSearch package works also with spline functions. thanks! i am a bit puzzled with the output: for instance in the example that you created: what does the last command do (op(3,%))? and probably related to that: what is the meaning of the third vector component ((1,1)denotes y, (1,2)=x coordinate but (1,3)=20?)?

indeed, the GlobalSearch package works also with spline functions. thanks! i am a bit puzzled with the output: for instance in the example that you created: what does the last command do (op(3,%))? and probably related to that: what is the meaning of the third vector component ((1,1)denotes y, (1,2)=x coordinate but (1,3)=20?)?

Hey robert,
the curve is defined by a spline function. i would like to keep the solution as general as possible, since the position of the maxima might shift in later applications.

Hey robert,
the curve is defined by a spline function. i would like to keep the solution as general as possible, since the position of the maxima might shift in later applications.

oh, i was not aware of this post, thanks for the link. the avoid option for fsolve is a kind of unelegant, a fsolve(all) would be nicer, but probably quite time consuming.

oh, i was not aware of this post, thanks for the link. the avoid option for fsolve is a kind of unelegant, a fsolve(all) would be nicer, but probably quite time consuming.

hey preben,

thanks for your answer. yes, "d" denotes the degree, for degree=1 or 2 the solve command works (although it takes quite long), but for 3 it doesn`t.
what i find interesting is: for degree=3 i would expect that the fsolve starts evaluating from x=685 and returns the first point (x=708), but it gives x=738, however, if i take a starting point of x=700, the same function gives x=708.
is there a command like: calculate all solutions for the fsolve function?

your third option seems the most robust one, always works and also it is much faster than the spline. i never even heard of this roots function...

hey preben,

thanks for your answer. yes, "d" denotes the degree, for degree=1 or 2 the solve command works (although it takes quite long), but for 3 it doesn`t.
what i find interesting is: for degree=3 i would expect that the fsolve starts evaluating from x=685 and returns the first point (x=708), but it gives x=738, however, if i take a starting point of x=700, the same function gives x=708.
is there a command like: calculate all solutions for the fsolve function?

your third option seems the most robust one, always works and also it is much faster than the spline. i never even heard of this roots function...

could you be a bit more specific what you mean by "Looking for the exact same plot which I have paste in the maple sheet"? do you want a box around your plot and some annotations on the left and right?

thanks pagan!

thanks pagan!

@Kamel 

since i dont know the exact position of the elements that i want to extract from the original list,

i need to find a command that creates the new list (listx) only by looking at the values of the elements.

1 2 Page 1 of 2