help-octave
[Top][All Lists]
Advanced

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

problem with find function


From: Rosario Balboa
Subject: problem with find function
Date: Sat, 6 Mar 2004 07:26:31 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630

Hi there,

assume a huge matrix (9*10^5 rows) called flow:

* the following code doesn't work
                IC=find(flow(:,5)>0);
                IC=find(flow(IC,6)>0);

* the following code DOES work
                IC=find(flow(:,5)>0);
                aux=flow(IC,:);
                IC=find(aux(:,6)>0);

I'm still working in version 2.1.50.

Is this already fixed in 2.1.55? Could anybody explain why this weird behavior?

Thanks a lot,

Rosario


--
------------------------------------------------------------------------------
Rosario M. Balboa
Departamento de Biotecnología
Universidad de Alicante, Spain
phone: +34 965 90 3852
fax:   +34 965 90 3965
------------------------------------------------------------------------------
"Genghis Khan started with a tribe of seventeen people including his
mother. He conquered everything. It seems to me you don't need
much in life other than enthusiasm and your mum." Stuart Wilde



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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