 transpose - Maple Help

Matlab

 transpose
 compute the transpose of a MapleMatrix or MatlabMatrix using MATLAB(R) Calling Sequence transpose(X) Parameters

 X - MapleMatrix or MatlabMatrix Description

 • The transpose command computes the transpose of a matrix using MATLAB®.
 • Executing the transpose command returns a Matrix, Vector or constant. Examples

Define the Maple matrix

 > $\mathrm{with}\left(\mathrm{Matlab}\right):$
 > $\mathrm{maplematrix_a}≔\mathrm{Matrix}\left(\left[\left[1,3,5\right],\left[6,4,2\right],\left[7,8,1\right],\left[3,7,3\right]\right]\right)$
 ${\mathrm{maplematrix_a}}{≔}\left[\begin{array}{ccc}{1}& {3}& {5}\\ {6}& {4}& {2}\\ {7}& {8}& {1}\\ {3}& {7}& {3}\end{array}\right]$ (1)

The transpose of this MapleMatrix is computed as

 > $\mathrm{Matlab}\left[\mathrm{transpose}\right]\left(\mathrm{maplematrix_a}\right)$

 [1.    6.    7.    3.] [                    ] [3.    4.    8.    7.] [                    ] [5.    2.    1.    3.]

The matrix is set in MATLAB® and transposed as a MatlabMatrix.

 > $\mathrm{Matlab}\left[\mathrm{setvar}\right]\left("matlabmatrix_a",\mathrm{maplematrix_a}\right)$
 > $\mathrm{Matlab}\left[\mathrm{transpose}\right]\left("matlabmatrix_a"\right)$

 [1.    6.    7.    3.] [                    ] [3.    4.    8.    7.] [                    ] [5.    2.    1.    3.]