Anonymous user
Matrix transposition: Difference between revisions
→{{header|MATLAB}}
Line 1,102:
=={{header|MATLAB}}==
Matlab contains two built-in methods of transposing a matrix: by using the "transpose(matrix)" function, or by using the " .' " operator. The " ' " operator yields the complex conjugate transpose.
<lang Matlab>>> transpose([1 2;3 4])
Line 1,111:
2 4
>> [1 2;3 4].'
ans =
|