Precision Control

Control over accuracy of numeric computations

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Environment Variables

DIGITSSignificant digits of floating-point numbers

MuPAD Functions

floatConvert to a floating-point number
Pref::floatFormatRepresentation of floating-point numbers
Pref::outputDigitsSet the number of digits in floating-point outputs
Pref::trailingZeroesTrailing zeroes when printing floating-point numbers

Topics

Floating-Point Arguments and Function Sensitivity

Particular choices of parameters can reduce some special functions to simpler special functions, elementary functions, or numbers.