Search

 

Module: Editor

Version: 5.1.4 +

Type: Long, Double, Date, Boolean or String

Category: Matrix

 

Description

The formula 'ReverseMatrix' returns the reverse of a matrix over a specified dimension. The function 'ReverseMatrix' creates a new matrix with the same amount of rows and columns as the matrix used for the input, but with the elements reversed over the rows or columns.

Parameters

Matrix:               the matrix you want to reverse.

Dimension:         the dimension to reverse over. 1 means downwards (over rows), 2 means rightwards (over columns).

Example

Description

In the following example the formula 'ReverseMatrix' is used to reverse a matrix over dimension 1 (over rows).

Values parameters

Matrix:

Column1Column2Column3
 2  5  8
 3  6  9
 4  7  10

 

Dimension: 1

Result

Matrix:
 
Column1Column2Column3
 4  7  10
 3  6  9
 2  5  8

 

The result is a matrix with the elements reversed over the rows.

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