Arithmetic Operators
Arithmetic operators include addition, subtraction, and multiplication, for example.
- + (addition and unary plus)
- - (subtraction and unary minus)
- * (multiplication)
- .* (entrywise-multiplication)
- / (matrix right division)
- ./ (right division)
- \ (matrix left division)
- .\ (left division)
- : (range)
- .^ (power)
- ^ (matrix power)
- .' (transpose)
- ' (complex conjugate transpose)
Examples
[3 6 4] + [7 9 2]
[6 7 2 0] * [3; 7; 1; 9]
More examples are located in the Operator Description (tables) topic.