jacobi
Version 1.0.0 (1.5 KB) by
xiaomeng xu
a func to transform an anonymous function f to its jacobian matrix.
% 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);]
Cite As
xiaomeng xu (2026). jacobi (https://in.mathworks.com/matlabcentral/fileexchange/90376-jacobi), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
