jacobi

版本 1.0.0 (1.5 KB) 作者: xiaomeng xu
a func to transform an anonymous function f to its jacobian matrix.
49.0 次下载
更新时间 2021/4/13

查看许可证

% 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