Main Content
assumptions
Show assumptions affecting symbolic variable, expression, or function
Description
Examples
Input Arguments
Tips
When you delete a symbolic object from the MATLAB workspace by using
clear
, all assumptions that you set on that object remain in the symbolic engine. If you declare a new symbolic variable with the same name, it inherits these assumptions.To clear all assumptions set on a symbolic variable
var
use this command.assume(var,"clear")
To clear all objects in the MATLAB workspace and close the Symbolic Math Toolbox™ engine associated with the MATLAB workspace resetting all its assumptions, use this command.
clear all
Version History
Introduced in R2012a