Symbolic math in MATLAB

Symbolic Math Toolbox™ uses the MuPAD® language as part of its underlying computational engine. The language has an extensive set of functions that are optimized for creating and operating on symbolic math expressions.

Since the R2016a release of MATLAB® the recommended approach is to use the MATLAB Live Editor instead of the MuPAD notebook for performing and documenting symbolic math calculations. MuPAD notebooks will be removed in a future release.

These resources help you get started using the MATLAB Live Editor.

Performing analytical integration in the MuPAD notebook (left) and in the MATLAB Live Editor (right).

See the difference the Live Editor makes in these examples:

Dynamics Analysis of a DC Motor 
Live Editor
Modeling Harmonic Oscillators
Live Editor
Modeling the Average Power Generated by a Wind Turbine  
Live Editor
Analytical Modeling of Aircraft Wing Loads 
Live Editor
MuPAD notebook

Getting Started with the MATLAB Live Editor

The MATLAB Live Editor is an interactive way to create, edit, and run MATLAB code.

In a single environment your symbolic math computations are displayed in mathematical typeset, along with formatted text, multilingual text, equations, images, and hyperlinks.

You can share live scripts with others to accelerate exploratory analysis, create interactive narratives, and teach with interactive documents.

Converting MuPAD Notebooks to MATLAB Live Scripts

The MATLAB function convertMuPADNotebook helps to convert your MuPAD notebooks to MATLAB live scripts. You can also open a MuPAD notebook as a live script by right clicking and selecting Open As Live Script. For further assistance converting your MuPAD notebooks, contact MathWorks Support

Converting a MuPAD Notebook (top, left) to a live script (top, right) using the convertMuPADNotebook function (bottom).

MuPAD Notebook Deprecation

The MuPAD notebook will be removed in a later release. Its use is discouraged, but if you still need access to the MuPAD notebook, you can start it with the MATLAB function mupad.

Software Reference

See also: analytical solution, mathematical modeling, computer algebra system

Contact Technical Expert

Contact the Symbolic Math Toolbox technical expert, Sarah Palfreyman