Home > freetb4matlab > statistics > nanmin.m

nanmin

PURPOSE ^

% Find the minimal element while ignoring NaN values.

SYNOPSIS ^

function [v, idx] = nanmin (X, Y, DIM)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003