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

1 vue (au cours des 30 derniers jours)
Marlon Saveri Silva
Marlon Saveri Silva le 23 Mai 2015
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.

Réponses (1)

Walter Roberson
Walter Roberson le 23 Mai 2015

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by