The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: [v, idx] = nanmin (X)
Function File: [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, nanmean, nanmedian.

Package: statistics