TRANSPOSE

A = TRANSPOSE (M)

Calculates the transpose A of a 2D matrix or a vector M.

Example 1: Transpose of a vetor

A = [1;2;3;4]
print transpose(A)   ' output: [1,2,3,4]

Example 2: Transpose of a matrix

A = [1,2; 3,4; 5,6]
print transpose(A)   ' output: [1,3,5;2,4,6] 
Math
If there is insufficient information on this page and you wish learn more about TRANSPOSE, please send an email to smallbasic@gmail.com. You can help to improve information about TRANSPOSE by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.