Search

 

Module: Editor

Version: 5.1.4 +

Type: Long, Double, Date, Boolean or String

Category: Matrix

 

Description

The formula 'Transpose' reverses the order of the dimensions of matrix. The formula 'Transpose' creates a new matrix with elements of the original matrix, but with the rows and columns swapped.

Parameters

Matrix:         the matrix you want to transpose. 

Example

Description

In the following example the formula 'Transpose' is used to transpose a matrix.

Values parameters

Matrix:

Column 1Column 2Column 3Column 4
 2  3  4  5
 6  7  8  9

 

Result

Output:

Column 1Column 2
 2  6
 3  7
 4  8
 5  9
 
The result is a matrix with the the columns and rows swapped. The size of the matrix changed from 2x4 to 4x2.
 

Related Topics

ReshapeThe formula 'Reshape' reshapes a matrix to specified shape.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-11