octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

__quantile__.m : test around line 126 ???


From: CdeMills
Subject: __quantile__.m : test around line 126 ???
Date: Fri, 10 Dec 2010 03:06:12 -0800 (PST)

Hello,

while trying to debug while 'quantile' did fail on dataframes, I found the
problem to lie around line 126 of __quantile__.m

        imm1 = mm == 1; 
        x(2,imm1) = x(1,imm1);

mm is a vector constructed from the sum of non-NaN values, colum-by column.
The result is that imm1 is a matrix of size(5, columns(x)). I do not
understand the access x(value, matrix), any hint ? BTW, 'quantile' fails for
the following data:
x=randn(6,6); x(1:5, 3) = NaN;

I tried may combinations; as soon as one of the colum(s) of mm contains "1",
it failed. Jaroslav and Ben, could you please check ?

Regards

Pascal

-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/quantile-m-test-around-line-126-tp3081754p3081754.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]