loop

Carlo Rossi serosole at yahoo.it
Wed Jun 3 19:53:03 CDT 2009


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,



      




More information about the Help-octave mailing list