% jacobi a func to transform a function f to its jacobian matrix jacomat.
% jacobi works for only function_handle with the format @(x)...
% The input of f should be listed in a column vector separated by semicolon
% The output of jacobi is also an anonymous function.
% For example:
% >> f = @(x) [x(1)^2+x(2)^2; x(1)*x(2)];
% >> Df=jacobi(f)
% >> Df =
%
% function_handle with value:
%
% @(x)[2*x(1),2*x(2);x(2),x(1);]
引用格式
xiaomeng xu (2024). jacobi (https://www.mathworks.com/matlabcentral/fileexchange/90376-jacobi), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |