Type representing sequences
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.
Type::SequenceOf, sequences with specified
objects can be identified.
The two optional parameters
the minimum and maximum number of arguments of the analysed sequence,
respectively. If the numbers are not be given, the number of elements
of the sequence will not be checked. If only the minimum is given,
the sequence must have at least
for the test to succeed.
This type does not represent a property.
Is the given sequence a sequence of identifiers?
testtype((a, b, c, d, e, f), Type::SequenceOf(DOM_IDENT))
Is the given sequence a sequence of at least five real numbers?
testtype((0, 0.5, 1, 1.5, 2, 2.5, 3), Type::SequenceOf(Type::Real, 5))
Any MuPAD® object
The minimal number of objects as nonnegative integer
The maximal number of objects as nonnegative integer