Matrix transposition: Difference between revisions
Content added Content deleted
(→{{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: | Line 979: | ||
=={{header|MATLAB}}== |
=={{header|MATLAB}}== |
||
Matlab contains two built-in methods of transposing a matrix: by using the "transpose(matrix)" function, or by using the "'" operator. |
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]) |
<lang Matlab>>> transpose([1 2;3 4]) |