Anonymous user
Matrix transposition: Difference between revisions
m
→{{header|MATLAB}}: "'" was not obvious, added spaces to improve readability.
(→{{header|MATLAB}}: There is no need to define a transpose function in Matlab, the language already has these functions built-in.) |
m (→{{header|MATLAB}}: "'" was not obvious, added spaces to improve readability.) |
||
Line 979:
=={{header|MATLAB}}==
Matlab contains two built-in methods of transposing a matrix: by using the "transpose(matrix)" function, or by using the " ' " operator.
<lang Matlab>>> transpose([1 2;3 4])
|