% -*- texinfo -*- % @deftypefn {Function File} {[@var{v}, @var{idx}] =} nanmin (@var{X}) % @deftypefnx{Function File} {[@var{v}, @var{idx}] =} nanmin (@var{X}, @var{Y}) % Find the minimal element while ignoring NaN values. % % @code{nanmin} is identical to the @code{min} function except that NaN values % are ignored. If all values in a column are NaN, the minimum is % returned as NaN rather than []. % % @seealso{min, nansum, nanmax, nanmean, nanmedian} % @end deftypefn