version (6.42 KB) by Timothy Jorris
Symbolically computes full derivative wrt time using chain rule and time variables.


Updated 26 Sep 2014

View License

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.

Cite As

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

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: 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!