Symbolic Variables, Expressions, Functions, and Preferences

Create symbolic variables, expressions, functions, and set preferences

Symbolic Math Toolbox™ introduces a special data type — symbolic objects. This data type includes symbolic numbers, symbolic variables, symbolic expressions, and symbolic functions. It also includes vectors, matrices, and multidimensional arrays of symbolic numbers, variables, expressions, and functions. Using symbolic objects in computations indicates that MATLAB® must perform these computations analytically instead of numerically. Symbolic computations are exact and are not prone to round-off errors. For a quick guide on creating symbolic variables, expressions, and functions, see Create Symbolic Numbers, Variables, and Expressions and Create Symbolic Functions.


argnames Input variables of symbolic function
children Subexpressions or terms of symbolic expression
disp Display symbolic input
display Display symbolic input
formula Mathematical expression defining symbolic function
funtool Function calculator
has Check if expression contains particular subexpression
pretty Prettyprint symbolic expressions
sympref Set symbolic preferences
sym Create symbolic variables, expressions, functions, matrices
symfun Create symbolic functions
syms Shortcut for creating symbolic variables and functions
symvar Find symbolic variables in symbolic expression, matrix, or function
Was this topic helpful?