公式处理和简化
简化或修改表达式,代入表达式的各部分
通过选择适当的函数,将表达式变换为所需的特定形式(扩展、分解或以特定项表达)请参阅Choose Function to Rearrange Expression。如果只需较简单的表达式,请使用 simplify
。您还可以利用 subs
用另一个值代入表达式的任何部分。
实时编辑器任务
简化符号表达式 | Simplify symbolic expressions in Live Editor |
函数
主题
- Choose Function to Rearrange Expression
Several functions are available to manipulate expressions. Understand which function to use.
- Simplify Symbolic Expressions
Simplifying symbolic expressions, including assumptions and additional options.
- Substitute Variables in Symbolic Expressions
Substitute variables with other variables, numbers, vectors, or matrices.
- 使用 subs 计算符号表达式
在为表达式和函数的变量赋值后计算表达式和函数。
- Developing an Algorithm for Undistorting an Image
This example develops a mathematical model using the Symbolic Math Toolbox™ to undistort an image and features a local function in the live script.
- Abbreviate Common Terms in Long Expressions
Simplify the display of long expressions by abbreviating common terms.