help-octave
[Top][All Lists]
Advanced

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

Re: Extracting matrix rows that meet a condition


From: Ismael Diego Nunez-Riboni
Subject: Re: Extracting matrix rows that meet a condition
Date: Thu, 24 May 2012 18:01:45 +0200

> other file where all the rows where
> all three values match the condition (x > 0 & x < 1)

Then forget about the function "find", what you want to do is:

 ii = (x > 0 & x < 1);

The rows you want to save are:

x((sum(ii') == 3)',:)

They are only 619...
-- 
Ismael Núñez-Riboni
Hamburg
Deutschland

--------
¿Quién dijo que todo está perdido? 
Yo vengo a ofrecer mi corazón...
Fito Páez

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a


reply via email to

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