Home > freetb4matlab > statistics > nanmedian.m

nanmedian

PURPOSE ^

% Compute the median of data while ignoring NaN values.

SYNOPSIS ^

function v = nanmedian (X, varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} @var{v} = nanmedian (@var{x})
% @deftypefnx{Function File} @var{v} = nanmedian (@var{x}, @var{dim})
% Compute the median of data while ignoring NaN values.
%
% This function is identical to the @code{median} function except that NaN values
% are ignored.  If all values are NaN, the median is returned as NaN. 
%
% @seealso{median, nanmin, nanmax, nansum, nanmean}
% @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