Matrix transposition: Difference between revisions

Content added Content deleted
(Added Matlab)
Line 465: Line 465:
{5, 25, 125, 625}}
{5, 25, 125, 625}}
transposedMatrix = Transpose[originalMatrix]
transposedMatrix = Transpose[originalMatrix]

=={{header|MATLAB}}==
<lang Matlab>
function [transposedMatrix] = transposematrix(originalMatrix)

transposedMatrix = originalMatrix';
</lang>


=={{header|Maxima}}==
=={{header|Maxima}}==