minel
Minimum element of an array.
Syntax
Section titled “Syntax”v = minel(A)v = minel(A, absolute)Description
Section titled “Description”Counterpart of maxel. Returns the smallest element. With absolute = true, returns the element with smallest absolute value.
Example
Section titled “Example”minel([3 -7 2 -1]) % -7