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: 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 ]

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

Thanks a lot for your tip.
> > %%%%%
> > 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]

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