help-octave
[Top][All Lists]
Advanced

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

loop


From: Carlo Rossi
Subject: loop
Date: Thu, 4 Jun 2009 00:53:03 +0000 (GMT)

Hello,
 I need to write this:

      for z=1 : size (counting,1)
        cl = find ( counting(z,:) == max(counting(z,:)));
        pp = [pp; cl(1) ];
      end

I'm looking for something more compat. Is there?
For example is there a way to avoid to write the "for z=1 : size....."

thanks,



      




reply via email to

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