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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!