Operators and Elementary Operations
Arithmetic, relational, and logical operators, special
characters, rounding, set functions
The MATLAB® language uses many common operators and special characters that you can use to perform simple operations on arrays of any type. See MATLAB Operators and Special Characters for a comprehensive summary.
Categories
- Arithmetic Operations
Addition, subtraction, multiplication, division, power, rounding
- Relational Operations
Value comparisons
- Logical (Boolean) Operations
True or false conditions
- Set Operations
Unions, intersection, set membership
- Bit-Wise Operations
Set, shift, or compare specific bit fields
- Special Characters
Special symbols and characters