MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
MuPAD® provides symbolic representations of the following
commonly used special real numbers. You can perform exact computations
that include the constants. Also, you can get floating-point approximations
with the current precision
DIGITS by using the
Euler number (exponential constant, base of natural logarithm)
|π ≈ 3.141592653|
MuPAD provides the symbolic representations for real and complex infinities. Many functions accept infinities as their arguments. For example, you can use infinities when computing sums, limits, integrals, and so on. Also, you can perform arithmetical operations with infinities. MuPAD can return infinities as results of computations:
The following objects in MuPAD represent special values. You can use these special values in computations. MuPAD can return these values as a result of computations:
Imaginary unit .
Null object of the domain
Null (void) object of the domain
|Undefined value used in floating-point |
Failure object of the domain
MuPAD provides the following predefined sets and lets you use them in computations. For example, you can use these predefined sets to compute intersections, differences, and unions, or to make assumptions. MuPAD can use these sets to return results of computations: