Output Jacobian function is not matrix

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일

0 개 추천

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!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2020년 11월 9일

댓글:

2020년 11월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by