Precision Control

Control over accuracy of numeric computations

Perform numeric calculations to arbitrary precision using digits and vpa. For details, see Control Precision of Numerical Computations. To understand when to use symbolic, variable-precision, or double-precision arithmetic, see Choose Symbolic or Numeric Arithmetic. For examples of how to use symbolic and variable-precision arithmetic to make calculations more accurate, see Recognize and Avoid Round-Off Errors.


digits Variable-precision accuracy
double Convert symbolic matrix to MATLAB numeric form
vpa Variable-precision arithmetic
Was this topic helpful?