Substitution

Replace parts of expressions with the specified symbolic or numeric values

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

subsSubstitute into an object
subsetRelation “is a subset of”
subsexExtended substitution
subsopReplace operands

Topics

Modify Subexpressions

Operations on symbolic expressions often involve finding subexpressions and replacing them with values or with other subexpressions.