Given as input a column vector of symbolic or anonymous functions (1x1, 2x1, ...), "Jac" will give as output the Jacobian of the vector inserted.
The output format will be the same as the input format (anonymous => anonymous / sym => sym).
If the input is a vector of anonymous functions, the Jacobian will be a vector/matrix of anonymous vectorized functions (the ' . ' is inserted before the following operations ' / ' ' * ' ' ^ ').
This function uses the symbolic Math Toolbox.
Examples and more informations are inserted in the comment section of "Jac";
type in the command window:
>> help Jac
인용 양식
Emanuele Bianco (2024). Derivative of anonymous functions (https://www.mathworks.com/matlabcentral/fileexchange/112510-derivative-of-anonymous-functions), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!