fulldiff.m

Symbolically computes full derivative wrt time using chain rule and time variables.
5,2K Downloads
Aktualisiert 26. Sep 2014

Lizenz anzeigen

Symbolically computes full time derivative of given function and time dependant variables. It's an expansion of the partial derivative functionality of DIFF. Chain rule application automatically creates necessary higher order derivatives. Only base dependent variable need to be input, eg {x y}, dx and dy, etc. are assumed time dependant and d2x and d2y are created if required. This is motivated by the combination of partial derivative and full derivative required to compute Lagrange?s equations of motion.

Zitieren als

Timothy Jorris (2024). fulldiff.m (https://www.mathworks.com/matlabcentral/fileexchange/7174-fulldiff-m), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert: ddt, Dynamics Simulator for Kinematic Chains

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

Bug fixed. Code now looks for an exact match for variable names. Thank you Henrique.

1.1.0.0

Fixes the bug pointed out by Henrique.

1.0.0.0

Bug fixed identified by Bruno in review. Both methods of 3rd order derivative now match (3rd of 1st and 1st of 2nd).