|
Size: 1037
Comment: Link to Hermitian
|
← Revision 5 as of 2026-02-13 03:20:02 ⇥
Size: 1030
Comment: Link
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 28: | Line 28: |
| Note that the [[LinearAlgebra/Transposition|transposition]] operator `'` gives the [[LinearAlgebra/MatrixConjugation|Hermitian transposition]], while the transposition operator `.'` gives the ''non-conjugate'' transposition. Lastly, note that the function `transpose()` matches `.'`. | Note that the [[LinearAlgebra/Transposition|transposition]] operator `'` gives the [[LinearAlgebra/HermitianTranspose|Hermitian transpose]], while the transposition operator `.'` gives the ''non-conjugate'' transpose. Lastly, note that the function `transpose()` matches `.'`. |
MATLAB Operators
These are the operators supported by MATLAB.
Contents
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
Matrix division has two notable forms:
/ corresponds to the function mrdivide()
The problem xA = B is solved using x = B/A.
\ corresponds to the function mldivide()
The problem Ax = b is solved using x = A\b.
...or equivalently, x = inv(A) * b.
Note that the transposition operator ' gives the Hermitian transpose, while the transposition operator .' gives the non-conjugate transpose. Lastly, note that the function transpose() matches .'.
