Operators and Elementary Operations
Symbolic Math Toolbox™ includes functions for arithmetic, relational, and logical operations, as well as modulo and complex number operations, on symbolic objects. You can use these functions to perform simple operations like addition, multiplication, and calculating exponents, as well as other operations like finding then
根,模量并找到了分区的商和其余部分。
Functions
Arithmetic Operations
minus |
Symbolic subtraction |
plus |
Symbolic addition |
times |
Symbolic array multiplication |
ldivide |
Symbolic array left division |
rdivide |
Symbolic array right division |
power |
符号阵列功率 |
nthroot |
Nth root of symbolic numbers |
mtimes |
Symbolic matrix multiplication |
mldivide |
Symbolic matrix left division |
mrdivide |
Symbolic matrix right division |
mpower |
Symbolic matrix power |
转置 |
Symbolic matrix transpose |
ctranspose |
Symbolic matrix complex conjugate transpose |
Relational Operations
Operators
eq |
Define symbolic equation |
ge |
Define greater than or equal to condition |
gt |
Define greater than relation |
le |
Define less than or equal to condition |
lt |
Define less than relation |
ne |
Define inequality |
Functions
has |
Check if expression contains particular subexpression |
hasSymType |
Determine whether symbolic object contains specific type |
in |
Numeric type of symbolic input |
isequal |
Test equality of symbolic inputs |
isequaln |
Test symbolic objects for equality, treatingNaN values as equal |
isSymType |
确定符号对象是否是特定类型 |
max |
Maximum elements of symbolic input |
min |
Minimum elements of symbolic input |
piecewise |
Conditionally defined expression or function |
Logical Operations
Operators
and |
Logical AND for symbolic expressions |
not |
Logical NOT for symbolic expressions |
or |
Logical OR for symbolic expressions |
xor |
逻辑异或符号表达式 |
Functions
all |
测试所有方程式和不平等是否表示为符号数组元素都是有效的 |
任何 |
Test whether at least one of equations and inequalities represented as elements of symbolic array is valid |
has |
Check if expression contains particular subexpression |
hasSymType |
Determine whether symbolic object contains specific type |
in |
Numeric type of symbolic input |
isequaln |
Test symbolic objects for equality, treatingNaN values as equal |
isfinite |
Check whether symbolic array elements are finite |
isinf |
Check whether symbolic array elements are infinite |
isnan |
Check whether symbolic array elements areNaN s |
isSymType |
确定符号对象是否是特定类型 |
logical |
检查方程或不平等的有效性 |
symtrue |
Symbolic logical constant true |
symfalse |
Symbolic logical constant false |
Modulo Operations
Topics
- Linear Algebraic Operations
Perform linear algebra with symbolic expressions and functions.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina(Español)
- Canada(English)
- United States(English)
Europe
- Belgium(English)
- 丹麦(English)
- Deutschland(Deutsch)
- España(Español)
- Finland(English)
- France(Français)
- Ireland(English)
- Italia(Italiano)
- Luxembourg(English)
- Netherlands(English)
- 挪威(English)
- Österreich(Deutsch)
- Portugal(English)
- Sweden(English)
- Switzerland
- United Kingdom(English)