Skip to content

minel

Minimum element of an array.

v = minel(A)
v = minel(A, absolute)

Counterpart of maxel. Returns the smallest element. With absolute = true, returns the element with smallest absolute value.

minel([3 -7 2 -1]) % -7
  • min — Minimum value along a dimension, or elementwise minimum of two inputs.
  • maxel — Maximum element of an array.