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.
From Whiteboard Sketch to Pareto Front: Using Symbolic Math Skills in the Agentic AI Playground
Use agentic AI to transform engineering diagrams and problem descriptions into symbolic analysis and optimized design workflows in MATLAB.
Calculus
Evaluate exact analytical solutions for definite or indefinite integral, calculate derivatives of symbolic expressions or functions, and approximate functions using series expansions.
Parametric Linear Algebra
Solve and decompose symbolic matrix systems to obtain exact eigenvalues and reusable results to gain visibility into the effect of parameters.
Transforms
Perform symbolic Laplace, Fourier, Z-, and Hilbert transforms to obtain exact transfer-function and frequency-domain forms for analytic insight into stability, phase, and system behavior.
Linearization and Sensitivity
Compute gradients and Jacobians of symbolic models to linearize nonlinear dynamics around operating points and verify sensitivity with exact derivatives.
Units and Dimensional Analysis
Perform dimensional analysis and verify the dimensional compatibility and consistency of units in symbolic calculations. Create custom unit systems and convert between existing unit systems.
Exact and Variable-Precision Arithmetic
Compute exact symbolic results. Then, produce numeric values with explicitly controlled significant digits to avoid hidden round-off errors while tuning accuracy versus speed.
Code and Model Export
Generate MATLAB functions, Simulink function blocks, Simscape equations, and C code from symbolic expressions to reuse verified math in engineering workflows.
Product Resources:
Symbolic Math Toolbox FAQs
Symbolic Math Toolbox is a MATLAB toolbox for deriving, analyzing, and exploring symbolic math equations for use in engineering and scientific workflows. It provides functions in areas such as calculus, linear algebra, algebraic and differential equations, transforms, and equation simplification. You can then export results to MATLAB functions, Simulink function blocks, or Simscape components.
You can analytically perform differentiation, integration, simplification, transforms, and equation solving, using either analytical methods or variable-precision arithmetic, with results displayed in mathematical notation. You can also compute Jacobians and gradients for linearization, solve parametric matrix systems for exact eigenvalues, and perform dimensional analysis with unit conversions.
Yes, the toolbox lets you solve linear and nonlinear algebraic and differential equations analytically, as well as perform equation simplification and substitution.
Yes, you can solve and decompose symbolic matrix systems to obtain exact eigenvalues and reusable parametric results. This lets you analyze how parameters affect system behavior before substituting numerical values.
Symbolic Math Toolbox supports Laplace, Fourier, Z-, and Hilbert transforms and their inverses. These let you obtain exact transfer-function and frequency-domain representations from first-principles models, so you can analyze and explore stability, phase, and system behavior before committing to numerical simulation.
Yes, you can compute exact gradients and Jacobians of symbolic models to linearize nonlinear dynamics around operating points. This lets you derive and verify linearized system representations and analyze sensitivity to parameter changes using exact derivatives rather than numerical approximations.
You can share your work with other MATLAB users as live scripts or convert them to HTML, Word, LaTeX, or PDF documents.
Yes, you can generate MATLAB functions, Simulink function blocks, custom equation-based Simscape components, and C or Fortran code directly from symbolic expressions. This lets you take first-principles derivations — such as transfer functions, equations of motion, or control laws — and deploy them directly into engineering simulation and production workflows.
Yes, the toolbox provides built-in functions to plot symbolic expressions and functions using extended MATLAB graphics capabilities and visualize the behavior of symbolic expressions using animations.
Variable-precision arithmetic in Symbolic Math Toolbox lets you to explicitly set the number of significant digits in your computations. You can increase precision to avoid hidden round-off errors in ill-conditioned or large-scale engineering problems, or reduce precision to speed up calculations when full accuracy isn’t needed.
Yes, you can perform dimensional analysis, verify dimensional compatibility and consistency of units in symbolic calculations, create custom unit systems, and convert between existing unit systems.
Try Symbolic Math Toolbox for Free
Discover the possibilities today.
Ready to Buy?
Get pricing information and explore related products.
Are You a Student?
Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.