Anonymous user
Matrix transposition: Difference between revisions
m
→{{header|MATLAB}} / {{header|Octave}}: There is a proper Octave entry below
m (→{{header|Liberty BASIC}}: Formatted output) |
m (→{{header|MATLAB}} / {{header|Octave}}: There is a proper Octave entry below) |
||
Line 1,791:
transposedMatrix = Transpose[originalMatrix]</lang>
=={{header|MATLAB
Matlab contains two built-in methods of transposing a matrix: by using the <code>transpose()</code> function, or by using the <code>.'</code> operator. The <code>'</code> operator yields the [[conjugate transpose|complex conjugate transpose]].
<lang Matlab>>> transpose([1 2;3 4])
|