find

shermanjj at gmail.com shermanjj at gmail.com
Thu Jun 4 09:19:52 CDT 2009


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 <serosole at yahoo.it> 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

> Help-octave at octave.org

> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090604/cdaf5049/attachment.html 


More information about the Help-octave mailing list