Numbers and Precision
The Symbolic Math Toolbox™ can perform numeric calculations with variable precision by using
vpa. For details, see Increase Precision of Numeric Calculations. To understand when to
use symbolic, variable-precision, or double-precision arithmetic, see Choose Numeric or Symbolic Arithmetic. The
Symbolic Math Toolbox also provides functions for rounding operations and for working
with complex numbers.
|Change variable precision used
|Convert symbolic values to MATLAB double precision
|Variable-precision arithmetic (arbitrary-precision arithmetic)
|Numerical integration using variable precision
|Solve symbolic equations numerically
|Numerical summation using variable precision (Since R2020b)
- Choose Numeric or Symbolic Arithmetic
Compare and contrast double-precision, variable-precision, and symbolic arithmetic.
- Numeric to Symbolic Conversion
Convert floating-point numbers to exact symbolic numbers.
- Increase Precision of Numeric Calculations
Increase precision arbitrarily with variable-precision arithmetic.
- Recognize and Avoid Round-Off Errors
Round-off errors in symbolic and variable-precision calculations.
- Increase Speed by Reducing Precision
Increase speed of calculations by reducing precision of calculations.