Output Jacobian function is not matrix
Ältere Kommentare anzeigen
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);

Antworten (1)
madhan ravi
am 9 Nov. 2020
0 Stimmen
What you have is a SYMBOLIC matrix.
2 Kommentare
Walter Roberson
am 9 Nov. 2020
... and you probably want to use matlabFunction() with it.
madhan ravi
am 9 Nov. 2020
Thank you sir Walter!
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!