Programming and Data Types |
 |
Operators
The MATLAB operators fall into three categories:
- Arithmetic operators that perform numeric computations, for example, adding two numbers or raising the elements of an array to a given power.
- Relational operators that compare operands quantitatively, using operators like "less than" and "not equal to."
- Logical operators that use the logical operators
AND
, OR
, and NOT
.
This section also discusses operator precedence.
| Data Types | | Arithmetic Operators |  |