Derivative of anonymous functions

This function takes as input a function F (either symbolic or anonymous) and computes the Jacobian of F
30 Downloads
Updated 2 Aug 2022

View License

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

Cite As

Emanuele Bianco (2024). Derivative of anonymous functions (https://www.mathworks.com/matlabcentral/fileexchange/112510-derivative-of-anonymous-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Version Published Release Notes
2.0.0

"Jac 2.0.0" is an improved version of "Jac 1.0.0" with more functionalities.
To get more info download the function and read the comment section

1.0.0