Vector derivetive symbolic how to calculate?

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)

can use Symbolic Math Toolbox, please read about function jacobian,
e.g.
syms x y z
f = x*y*z;
v = [x, y, z];
R = jacobian(f, v)

Categories

Asked:

on 7 Dec 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!