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
2020년 11월 9일
0 개 추천
What you have is a SYMBOLIC matrix.
댓글 수: 2
Walter Roberson
2020년 11월 9일
... and you probably want to use matlabFunction() with it.
madhan ravi
2020년 11월 9일
Thank you sir Walter!
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!