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

1 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2015-5-23

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by