Boolean constants, infinities, special sets of numbers


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 Functions

complexInfinityComplex infinity
infinityReal positive infinity
FAILIndicate a failed computation
NILSingleton element of the domain DOM_NIL
nullGenerate the void object of type DOM_NULL
TRUEBoolean constant TRUE
FALSEBoolean constant FALSE
UNKNOWNBoolean constant UNKNOWN
undefinedUndefined value
C_Complex numbers
R_Real numbers
Q_Rational numbers
N_Positive integers


Mathematical Constants Available in MuPAD

MuPAD provides symbolic representations of the following commonly used special real numbers.