loop
Jaroslav Hajek
highegg at gmail.com
Thu Jun 4 07:37:10 CDT 2009
On Thu, Jun 4, 2009 at 2:28 PM, Carlo Rossi <serosole at yahoo.it> wrote:
>
> Sorry, I'm a very newbie. the code isn't work
>
> ??? Error using ==> max
> MAX with two matrices to compare and two output arguments is not supported.
>
> anyway I don't understand what you trying to do with the '2' and the 'cc'
>
> thanks,
>
There was a typo, sorry:
[cc, pp] = max (counting, [], 2);
which you would have discovered if you had read the docs. Try "help max".
cheers
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Help-octave
mailing list