Domain of all objects of basic type
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.
Dom::Expression comprises all objects only
consisting of operands of built-in types.
Dom::Expression is a façade domain:
it has no domain elements, but uses system representation.
not belong to any arithmetical category, and its elements need not
be arithmetical expressions.
Dom::Expression mainly serves as a super-domain
it rarely makes sense to use it directly.
Almost every MuPAD® object can be converted to an expression. Objects of basic type are expressions.
Dom::Expression([3, array(1..2), rectform(exp(I))])
convert method flattens its argument:
hence expression sequences are not allowed.
Error: Invalid number of arguments. [expr] Evaluating: Dom::Expression::new
An object of basic type consisting only of operands of built-in
types, or any other object convertible to such using
an identifier used for creating random elements
convert— Conversion of objects
convert_to— Conversion to other domains
expr— Just return the argument
testtype— Test whether its argument is an expression
This method overloads
Dom::Expression has no domain elements, the
overloading can only be caused by the second argument.
float— Convert numbers to floats
subsex— Extended substitution
random— Create random expression