This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Type representing indeterminates

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.


testtype(obj, Type::Indeterminate)


Type::Indeterminate represents all objects that MuPAD® regards as indeterminates: identifiers except those in Type::ConstantIdents, plus indexed identifiers.

This type does not represent a property: it cannot be used in assume to mark an identifier as an algebraic constant.


Example 1

The following call selects all indeterminates from a list:

delete x:
testtype(x, Type::Indeterminate),
testtype(sqrt(2), Type::Indeterminate);

l := [x, x[2], x[sqrt(2) + I], x[x], PI, PI[1], sin(x), 3.0];
select(l, testtype, Type::Indeterminate)

Note that testtype evaluates its arguments:

y := 5;
testtype(y, Type::Indeterminate),
testtype(hold(y), Type::Indeterminate);



Any MuPAD object

Return Values

See testtype

See Also

MuPAD Domains

MuPAD Functions

Was this topic helpful?