Symbolic Math Toolbox


Version 8.4, part of Release 2019b, includes the following enhancements:

  • MATLAB Live Scripts: Copy and paste symbolic outputs as MATLAB code or typeset equations
  • MATLAB Live Scripts: Display a symbolic formula from a string as a typeset equation without evaluating it
  • Calculus: Apply integration by parts and integration by substitution
  • Number Conversion: Convert a symbolic number to a character vector representing binary or hex

See the Release Notes for details.

Version 8.3, part of Release 2019a, includes the following enhancements:

  • Animations: Create animations from symbolic expressions with fanimator
  • Symbolic Types: Categorize symbolic objects by type such as numbers, variables, expression using symType
  • Scientific Display: Change the display of symbolic output to floating-point with sympref
  • Scientific Display: Display symbolic variables with accents, subscripts and superscripts using math-rendered notation, eg x_bar_hat
  • Special Functions: Calculate the Hurwitz zeta function and the Hilbert transform

See the Release Notes for details.

Version 8.2, part of Release 2018b, includes the following enhancements:

  • unitConvert Function: Convert physical values between units or unit systems
  • besselh Function: Evaluate the Hankel function analytically
  • nthroot Function: Calculate the nth root of symbolic expressions
  • sinc Function: Work with the sinc function analytically
  • mathml Function: Generate MathML markup from symbolic expressions

See the Release Notes for details.

Version 8.1, part of Release 2018a, includes the following enhancements:

  • Polynomial Operations: Calculate the degree, resultant, and reduction of polynomials
  • Groebner Basis: Calculate the Groebner basis and eliminate variables from equations
  • Number Theory: Calculate perfect powers, modular powers, and prime numbers
  • Physical Units: Convert between more unit systems, use more physical dimensions, and display mixed units
  • MATLAB Live Scripts: Convert MuPAD notebooks, which will be removed in a future release, to MATLAB live scripts by using convertMuPADNotebook

See the Release Notes for details.

Version 8.0, part of Release 2017b, includes the following enhancements:

  • Unit Systems: Convert between SI and US units and create custom systems of units
  • Unit Information: Get information on units and physical dimensions with the unitInfo function
  • Symbolic String Evaluation: Evaluate strings as symbolic expressions with the str2sym function
  • Special Functions: Calculate the Meijer G-function, elliptic nome function, Jacobi zeta function, and Jacobi elliptic functions

See the Release Notes for details.

Version 7.2, part of Release 2017a, includes the following enhancements:

  • Units: Use physical units in symbolic calculations with the symunit function
  • Live Scripts: Convert more MuPAD notebooks to MATLAB live scripts with the convertMuPADNotebook function, including notebooks with MuPAD procedures
  • Isolate Variables: Rearrange equation to isolate a variable or expression on the left side
  • Decompose Equations: Extract the left and right side of an equation with the lhs and rhs functions

See the Release Notes for details.

Version 7.1, part of Release 2016b, includes the following enhancements:

  • MATLAB Live Scripts: Convert more MuPAD notebooks automatically to MATLAB live scripts using the convertMuPADNotebook function
  • Piecewise Expressions: Define conditional symbolic expressions with the piecewise function
  • Plotting Implicit Functions: Plot implicit symbolic functions in 2-D and 3-D with MATLAB fimplicit and fimplicit3 functions
  • Numerical Integration: Integrate symbolic expressions using variable-precision arithmetic with the vpaintegral function

See the Release Notes for details.

Version 7.0, part of Release 2016a, includes the following enhancements:

  • Live Scripts: Edit symbolic code and visualize results in MATLAB Live Editor, and convert MuPAD notebooks to MATLAB live scripts
  • Plotting: Create 2-D, 3-D, contour, surface, and mesh plots with MATLAB fplotfplot3fcontourfsurf, and fmesh functions
  • Simscape Component Generation: Create custom components directly from symbolic math equations for use in dynamic simulation

See the Release Notes for details.