# min

Smallest element in array of `fi`

objects

## Description

returns the smallest
elements along different dimensions of `M`

= min(`A`

)`fi`

array
`A`

.

If

`A`

is a vector,`min(A)`

returns the smallest element in`A`

.If

`A`

is a matrix,`min(A)`

treats the columns of`A`

as vectors, returning a row vector containing the minimum element from each column.If

`A`

is a multidimensional array,`min`

operates along the first nonsingleton dimension and returns an array of minimum values.

## Examples

## Input Arguments

## Output Arguments

## Algorithms

When `A`

or `B`

is complex, the `min`

function returns the element with the smallest magnitude. If two magnitudes are equal,
then `min`

returns the first value. This behavior differs from how the
built-in `min`

function resolves ties between
complex numbers.

## Extended Capabilities

## Version History

**Introduced before R2006a**