Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: integrating with the symbolic toolbox
Replies: 2   Last Post: Nov 11, 2012 10:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ravi

Posts: 10
Registered: 5/3/12
Re: integrating with the symbolic toolbox
Posted: Nov 11, 2012 10:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,
Thanks a lot for your tip.
Thanks,
Ravi
> > %%%%%
> > syms x y
> > % I want to integrate a second derivative
> > int(diff(y,x,2),x,0,x)
> > %%%%%


> you have to tell matlab to assume that y is a function of x.
>
> y = sym('y(x)')
> syms x
> int(diff(y,x,2),x)
>
> ans =
> diff(y(x), x)




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.