help-octave
[Top][All Lists]
Advanced

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

find


From: Carlo Rossi
Subject: find
Date: Thu, 4 Jun 2009 13:00:33 +0000 (GMT)

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,


      




reply via email to

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