Professional Documents
Culture Documents
jacobianos
Jacobian matrix
collapse all in page
Syntax
jacobian(f,v)
example
Description
example
jacobian(f,v)
Examples
Jacobian of Vector Function
The Jacobian of a vector function is a matrix of the partial derivatives of that function.
Compute the Jacobian matrix of [x*y*z, y^2, x + z] with respect to [x, y, z].
syms x y z
jacobian([x*y*z, y^2, x + z], [x, y, z])
ans =
[ y*z, x*z, x*y]
[
0, 2*y,
0]
[
1,
0,
1]
Now, compute the Jacobian of [x*y*z, y^2, x + z] with respect to [x; y; z].
jacobian([x*y*z, y^2, x + z], [x; y; z])
Input Arguments
collapse all
More About
collapse all
Jacobian Matrix
The Jacobian matrix of the vector function f = (f1(x1,...,xn),...,fn(x1,...,xn)) is the matrix of
the derivatives of f:
(
)
J x1,xn =
1 n n n
f1x1 fnx1
f x f x