On 04/28/11 14:35, Carnë Draug wrote:
> octave-3.2.4:9>  a = [NaN 2 5];
> octave-3.2.4:11>  b = [2 5 NaN 7];
> octave-3.2.4:12>  cumsum(a)
> ans =
>
>     NaN   NaN   NaN
>
> octave-3.2.4:13>  cumsum(b)
> ans =
>
>       2     7   NaN   NaN

I would expect it to do

octave:> nancumsum(b)

2   7   7  14

M.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to