As a user of the NaN toolbox for data analysis and statistics
computations, I find that overloading the built-in functions with the
NaN-skipping functionality serves me well, compared to having to
remember to use nan- forms of the function names as in Matlab.On the
other hand, I agree that the default Octave/Matlab behavior makes
sense in certain cases too.

I think it would be ideal to incorporate the NaN toolbox functionality
into the main branch of Octave, and have which NaN-skipping behavior
to use be an optional argument to these functions.  (In R, the na.rm
argument to functions like mean does this.)  There could also be a
global variable that would set the default NaN-skipping mode of the
summing and statistical functions, and thus allow either the toolbox
or the current default behavior to be mimicked. Meanwhile, I thank
Alois for providing a valuable set of functions.

Nir

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to