How can I get the Jacobian when the variables are functions of time?

1 visualización (últimos 30 días)
syms x(t) y(t)
syms Psi(t) Theta(t) R(t)
x(t)= [Psi(t) Theta(t) R(t)].';
r(t)= [R*cos(Psi(t))*sin(Theta(t)) R*sin(Psi(t))*sin(Theta(t)) R*cos(Theta(t))];
Ht=jacobian(r(t),x(t)) %this is not working
Hi,
I would like to get the jacobian dr/dx. I also tried "fulldiff()", but I don't know exactly how to use it and I could not solve this problem.

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Mayo de 2015

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by