Find derivatives of expressions or functions


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

DDifferential operator for functions
diffDifferentiate an expression or a polynomial


Choose Differentiation Function

MuPAD provides two functions for differentiation.

Differentiate Expressions

For differentiating an expression, use the diff command.

Differentiate Functions

To compute derivatives of functions, use the differential operator D.