Conversion Between Symbolic and Numeric

Convert symbolic data to numerics or strings, convert numerics to symbolic objects

Symbolic Math Toolbox™ lets you convert data between symbolic and commonly used MATLAB® data types. You can also perform numeric computations with high precision using variable-precision arithmetic.


char Convert symbolic objects to strings
double Convert symbolic matrix to MATLAB numeric form
int8, int16, int32, int64 Convert symbolic matrix to signed integers
poly2sym Create symbolic polynomial from vector of coefficients
single Convert symbolic matrix to single precision
sym Create symbolic variables, expressions, functions, matrices
sym2poly Extract vector of all numeric coefficients, including zeros, from symbolic polynomial
symfun Create symbolic functions
uint8, uint16, uint32, uint64 Convert symbolic matrix to unsigned integers
vpa Variable-precision arithmetic
Was this topic helpful?