compute the transpose of a MapleMatrix or MatlabMatrix using MATLAB(R) - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : Matlab : Matlab/transpose

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

withMatlab:

maplematrix_a:=Matrix1,3,5,6,4,2,7,8,1,3,7,3

maplematrix_a:=135642781373

(1)

The transpose of this MapleMatrix is computed as

Matlab[transpose]maplematrix_a

[1.    6.    7.    3.]

[                    ]

[3.    4.    8.    7.]

[                    ]

[5.    2.    1.    3.]

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

Matlab[setvar]matlabmatrix_a,maplematrix_a

Matlab[transpose]matlabmatrix_a

[1.    6.    7.    3.]

[                    ]

[3.    4.    8.    7.]

[                    ]

[5.    2.    1.    3.]

See Also

LinearAlgebra[Transpose], Matlab, Matlab[det], Matlab[evalM], Matlab[inv], MatlabMatrix


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam