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