Documentation

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.

unassume

Delete the properties of an identifier

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.

Syntax

unassume(x)

Description

unassume(x) deletes the properties of the identifier x.

unassume serves for deleting properties of identifiers set via assume. See Properties for a description of the property mechanism.

If x is a list or a set of identifiers, then the properties of all specified identifiers are deleted.

The command delete x deletes the value and the properties of the identifier x.

Examples

Example 1

Properties are attached to the identifiers x and y:

assume(x > 0): assume(y < 0): getprop(x), getprop(y)

sign(x), sign(y)

unassume or delete deletes the properties:

unassume(x): delete y: getprop(x), getprop(y)

sign(x), sign(y)

The properties of several identifiers can be deleted simultaneously by passing a list or a set to unassume:

assume(x > y): unassume([x, y]): getprop(x), getprop(y)

Parameters

x

An identifier or a list or a set of identifiers

Return Values

Void object null().

See Also

MuPAD Functions

Was this topic helpful?