Home > freetb4matlab > NaN > nansum.m

nansum

PURPOSE ^

NANSUM same as SUM but ignores NaN's.

SYNOPSIS ^

function [o] = nansum(i,DIM)

DESCRIPTION ^

 NANSUM same as SUM but ignores NaN's. 
 NANSUM is OBSOLETE; use SUMSKIPNAN instead. NANSUM is included 
    to fix a bug in some other versions. 

 Y = nansum(x [,DIM])
 
 DIM    dimension
    1 sum of columns
    2 sum of rows
    default or []: first DIMENSION with more than 1 element
 Y    resulting sum

 
 see also: SUM, SUMSKIPNAN, NANSUM

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003