Search

 

Module: Editor

Version: 5.2.0 +

Type: Long, Double or Date

Category: Matrix

 

Description

There are two types of the formula 'Min'. Both will be described with an example.

The first type of the formula 'Min' returns the minimum of each element from identically shaped matrices with integers, real numbers or dates. The function 'Min' creates a new matrix with the minimum elements.

The second type of the formula 'Min' returns the minimum of each element from a specified dimension of a matrix with integers, real numbers or dates. The function 'Min' creates a new vector with the minimum elements of each row or column. When a matrix is empty, the long and double variant of the function 'Min' results in a 0 and the date variant results in an error.

Parameters

First formula 'Min':

Matrix 1:      matrix 1, matrix 2, ... are 1 to 30 from which you want the minimum.

Second formula 'Min':

Matrix:        the matrix you want to take the minimum over.

Dimension:  the dimension of the matrix you want to take the minimum over. 1 means downwards (over rows), 2 means rightwards (over columns).

Example 1

Description

In the following example the formula 'Min' is used to get the mimimum elements out of two matrices.

Values parameters

Matrix 1:

Column 1Column 2
 35  82
 96  23

 

Matrix 2:

Column 1Column 2
 73  81
 17  52

 

Result

Output:

Column 1Column 2
 35  81
 17  23
 
The result is a matrix with the minimum elements out of two matrices.
 

Example 2

Description

In the following example the formula 'Min' is used to get the minimum elements over the columns of a matrix.

Values parameters

Matrix:

Column 1Column 2Column 3
 35  82  50
 42  10  79
 96  23  97

 

Dimension: 2

Result

Output:

 35
 10
 23
 
The result is a vector with the minimum elements over the columns of the matrix.
 

Related Topics

MinScalarMatrix: The formula 'MinScalarMatrix' returns the minimum of each element from a matrix and a scalar existing of integers, real numbers or dates.

MaxThe formula 'Max' returns the maximum of each element from identically shaped matrices with integers, real numbers or dates.

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-09