The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: symbolic diff and fmin
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Uwe Brauer

Posts: 1
Registered: 12/11/04
symbolic diff and fmin
Posted: Apr 7, 2000 1:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am looking for a way to differentiate a function formally and to
find the minium of the derived function using fmin. However fmin is
thought for function not for strings of symbolic expression. So either
for this purpose something like

unsyms t,y

would be helpful.

Or another way is to differentiate a function and then declare the
symbolic string as a new function. I wonder whether this would be possible.

What I have in mind is something like.

function y=testfunc(x)

>> syms x
>> z=diff('testfunc(x)')

Now best would be to have the string z=diff('testfunc(x)') defined as
a new function, using say inline, however I was not successful. Anybody
has an idea, thanks in advance.

Uwe Brauer

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.