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

1 view (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 23 May 2015

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!