find
James Sherman Jr.
shermanj at umd.edu
Thu Jun 4 09:21: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 Thu, Jun 4, 2009 at 9:00 AM, 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/a1b97e78/attachment.html
More information about the Help-octave
mailing list