Restrict possible values of a symbolic object

Use assumptions to restrict the possible range of values of variables or expressions. You can set assumptions, such as restricting a variable to real values or to a particular range. You also can set multiple assumptions. For details, see Use Assumptions on Symbolic Variables.

To verify if a condition holds, use isAlways.


assume Set assumption on symbolic object
assumeAlso Add assumption on symbolic object
assumptions Show assumptions affecting symbolic variable, expression, or function
clear all Remove items from MATLAB workspace and reset MuPAD engine
in Numeric type of symbolic input
isAlways Check whether equation or inequality holds for all values of its variables
isfinite Check whether symbolic array elements are finite
isinf Check whether symbolic array elements are infinite
isnan Check whether symbolic array elements are NaNs
logical Check validity of equation or inequality
reset Close MuPAD engine
Was this topic helpful?