- statistics: [v, idx] = nanmin (X)
- statistics: [v, idx] = nanmin (X, Y)
Find the minimal element while ignoring NaN values.
nanmin
is identical to the min
function except that NaN values
are ignored. If all values in a column are NaN, the minimum is
returned as NaN rather than [].
See also:
min,
nansum,
nanmax
Source Code:
nanmin