MuPAD® notebooks will be removed in a future release. 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.
Use only in the MuPAD Notebook Interface. This functionality does not run in MATLAB.
Three types of mathematical properties are available in MuPAD®:
Basic number domains, such as the domain of integers, the domain of rational numbers, the domain of real numbers, the domain of positive real numbers, or the domain of complex numbers
Intervals in basic number domains
Residue classes of integers
Often, there are several equivalent ways to specify a property.
infinity) are equivalent properties. Similarly,
Type::Odd is equivalent
Some members of the
Type library do not correspond
to mathematical properties, for example,
This table shows some examples of how to set properties on the
identifier or expression
expr is a list, vector, or matrix, then
only the syntax
(expr, set) is valid. Do not use
(expr in set) or relations, such as
> 0 or
expr < 0, for nonscalar
Way to Specify a Property of ||Alternative Way to Specify a Property of |
Complex value, . This is a default value for most MuPAD objects.
Positive integer value,
Negative integer value,
Nonnegative integer value,
Positive rational value,
Negative rational value,
Nonnegative rational value,
b ℤ + a