help-octave
[Top][All Lists]
Advanced

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

Re: find


From: shermanjj
Subject: Re: find
Date: Thu, 04 Jun 2009 14:19:52 +0000

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
>
reply via email to

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