Jacobian
Jacobian
(OP)
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...
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...





RE: Jacobian
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.