Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Conversion Between Symbolic and Numeric

Convert symbolic data to numerics or character vectors, 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.

Functions

charConvert symbolic objects to character vectors
cell2symConvert cell array to symbolic array
doubleConvert symbolic values to MATLAB double precision
int8, int16, int32, int64Convert symbolic matrix to signed integers
poly2symCreate symbolic polynomial from vector of coefficients
singleConvert symbolic matrix to single precision
symCreate symbolic variables, expressions, functions, matrices
sym2cellConvert symbolic array to cell array
sym2polyExtract vector of all numeric coefficients, including zeros, from symbolic polynomial
symfunCreate symbolic functions
uint8, uint16, uint32, uint64Convert symbolic matrix to unsigned integers
vpaVariable-precision arithmetic

Topics

Numeric to Symbolic Conversion

Convert floating-point numbers to exact symbolic numbers.

Increase Precision of Numeric Calculations

Increase precision arbitrarily with variable-precision arithmetic.

Was this topic helpful?