MATLAB Operators

These are the operators supported by MATLAB.


Description

Most operators work as expected.

For the most part, prefixing an operator with a dot (.) causes element-wise operation. For example:

Matrix division has two notable forms:

There is an important difference between the transposition operators ' and .'. The former is the complex conjugate transposition or Hermitian transposition, by which a complex number as a + bi is transposed to a - bi. The latter is the non-conjugate transposition and does not flip any signs. For real numbers, the two are equivalent. Lastly, note that the function transpose() matches .'.


CategoryRicottone