Main Content

Symbolic Math Toolbox

Perform symbolic math computations

Symbolic Math Toolbox™ provides functions for solving, plotting, and manipulating symbolic math equations. You can create, run, and share symbolic math code. In the MATLAB® Live Editor, you can get next-step suggestions for symbolic workflows. The toolbox provides functions in common mathematical areas such as calculus, linear algebra, algebraic and differential equations, equation simplification, and equation manipulation.

Symbolic Math Toolbox lets you analytically perform differentiation, integration, simplification, transforms, and equation solving. You can perform dimensional computations and convert between units. Your computations can be performed either analytically or using variable-precision arithmetic, with the results displayed in mathematical typeset.

You can share your symbolic work with other MATLAB users as live scripts or convert them to HTML, Word, LaTeX, or PDF documents. You can generate MATLAB functions, Simulink® Function blocks, and Simscape™ equations directly from symbolic expressions.

Get Started

Learn the basics of Symbolic Math Toolbox

Symbolic Computations in MATLAB

Symbolic variables, expressions, functions, conversions between symbolic and numeric


Equation solving, formula simplification, calculus, linear algebra, and more


Two- and three-dimensional plots, data exploration, and visualization techniques

Code Generation

Use symbolic results in MATLAB, Simulink, Simscape, C, Fortran, and LaTeX


Perform application-specific workflows using Symbolic Math Toolbox