help-octave
[Top][All Lists]
Advanced

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

Re: find


From: James Sherman Jr.
Subject: Re: find
Date: Thu, 4 Jun 2009 10:21:52 -0400

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 <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]