MuPad: question about _if_ statement
- From: "Gary Gaukler" <gaukler@xxxxxxxxx>
- Date: Thu, 1 Dec 2005 16:25:06 -0600
I am trying to write some simple MuPad code that would determine at which
point the graphs of two real-valued functions intersect.
To do that, I use an if statement inside a loop. The if statement looks like
this:
if (f1(x) <= f2(x)) then ... end_if
MuPad complains about this construct and says that it won't let me compare
symbolic expressions in an if statement with the <= operator.
This seems rather limiting to me - is there any way around this? How do you
implement this in MuPad, if an if statement cannot be used?
Thanks for any advice!
Gary
.
- Follow-Ups:
- Re: MuPad: question about _if_ statement
- From: Ralf Hillebrand
- Re: MuPad: question about _if_ statement
- From: John O'Flaherty
- Re: MuPad: question about _if_ statement
- From: Alasdair
- Re: MuPad: question about _if_ statement
- Prev by Date: Re: differentiate ln(x)
- Next by Date: Re: MuPad: question about _if_ statement
- Previous by thread: Re: differentiate ln(x)
- Next by thread: Re: MuPad: question about _if_ statement
- Index(es):
Relevant Pages
|