Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jacobian

Status
Not open for further replies.

ludogorets

Mechanical
Jan 11, 2008
2
Hi everyone,
I am trying to obtain jacobian matrix of a set of ode. Jacobian matrix changes with respect to time. Is there method or a command to obtain jacobian matrix while using Matlab ode solvers.
Thanks...
 
Replies continue below

Recommended for you

I'm probably off-base, but here's the way I remember it...

Routines like ode45 address ordinary differential equations (although possibly non-linear).

Jacobian is relevant to partial differential equations.

Help Jacobian gives the following:

JACOBIAN Jacobian matrix.
JACOBIAN(f,v) computes the Jacobian of the scalar or vector f
with respect to the vector v. The (i,j)-th entry of the result
is df(i)/dv(j). Note that when f is scalar, the Jacobian of f
is the gradient of f. Also, note that scalar v is allowed,
although this is just DIFF(f,v).

Example:
jacobian([x*y*z; y; x+z],[x y z])
jacobian(u*exp(v),[u;v])

See also DIFF.


=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor