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 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