It would probably help if you explained what you actually wanted. I can't tell what your objective is when you write octave code and ask if there is a way to write octave code.
On Jun 4, 2009 9:00am, Carlo Rossi <address@hidden> wrote: > > > 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, > > > > > > > > > > > > _______________________________________________ > > Help-octave mailing list > > address@hidden > > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >