Vector derivetive symbolic how to calculate?
Show older comments
Hello!
I have a function y=f(b1,...,b6) with six variables and I need to write function, which returns the vector derivative of y.
dy/db=[dy/db1,...,dy/db6]
How can I write it?
Thank you for ypur answers!
Answers (1)
Andrei Bobrov
on 7 Dec 2011
e.g.
syms x y z
f = x*y*z;
v = [x, y, z];
R = jacobian(f, v)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!