find

Carlo Rossi serosole at yahoo.it
Thu Jun 4 08:00:33 CDT 2009


Hello, is there a way to write a such thing?

class = [1  1 1 -1 -1 1];

 [idx1, idx2] = find(class == 1;  class == -1)
 

thanks,


      




More information about the Help-octave mailing list