I cant take inverse of J matris. it is jacobian.
古いコメントを表示
syms x g h k l q a b c d f
y1 = (x*cos(q)+x*cos(g)-f*cos(l)-(b/2)*cos(h)-a*cos(q));
y2 = (x*sin(q)+x*sin(g)-f*sin(l)-(b/2)*sin(h)-a*sin(q));
y3 = (a*cos(q)+b*cos(h)-c*cos(k)-d);
y4 = a*sin(q)+b*sin(h)-c*sin(k);
y = [y1; y2; y3; y4];
v = [x; (h); (k); (l)];
J = jacobian(y, v);
inv(J)
J * inv(J)
6 件のコメント
John D'Errico
2013 年 12 月 26 日
Why can't you do that? Works for me.
Emrah
2013 年 12 月 26 日
Walter Roberson
2013 年 12 月 26 日
It would only give the unit matrix if J is non-singular.
Walter Roberson
2013 年 12 月 26 日
What does rank(J) indicate ?
Emrah
2013 年 12 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Robust Control Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!