Derivative of anonymous functions
Version 2.0.0 (5,22 KB) von
Emanuele Bianco
This function takes as input a function F (either symbolic or anonymous) and computes the Jacobian of F
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
Zitieren als
Emanuele Bianco (2024). Derivative of anonymous functions (https://www.mathworks.com/matlabcentral/fileexchange/112510-derivative-of-anonymous-functions), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2021b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0.0 | "Jac 2.0.0" is an improved version of "Jac 1.0.0" with more functionalities.
|
||
1.0.0 |