Output Jacobian function is not matrix

17 ビュー (過去 30 日間)
Fabrizio Lo Regio
Fabrizio Lo Regio 2020 年 11 月 9 日
コメント済み: madhan ravi 2020 年 11 月 9 日
Hello to everybody,
I have to use the "jacobian" function in Matlab and the output not seems a matrix. How can i have J like a matrix in the classic form?
X=sym('X',[3 1]);
y=myfunction(X);
J=jacobian(y,X);

回答 (1 件)

madhan ravi
madhan ravi 2020 年 11 月 9 日
What you have is a SYMBOLIC matrix.
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 11 月 9 日
... and you probably want to use matlabFunction() with it.
madhan ravi
madhan ravi 2020 年 11 月 9 日
Thank you sir Walter!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by