Differences between revisions 1 and 2
Revision 1 as of 2025-10-25 03:49:22
Size: 470
Comment: Initial commit
Revision 2 as of 2026-01-05 17:03:57
Size: 911
Comment: Transpose notes
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
Common array and matrix operators include:
 * apostrophe (`'`) for [[LinearAlgebra/Transposition|transposition]]
For the most part, prefixing an operator with a dot (`.`) causes element-wise operation. For example:
Line 22: Line 21:
There is an important difference between the [[LinearAlgebra/Transposition|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 `.'`.

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:

  • .* for element-wise multiplication

  • ./ for element-wise right division

  • .\ for element-wise left division

  • .^ for element-wise power

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

MATLAB/Operators (last edited 2026-02-13 03:20:02 by DominicRicottone)