help-octave
[Top][All Lists]
Advanced

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

Re: loop


From: Jaroslav Hajek
Subject: Re: loop
Date: Thu, 4 Jun 2009 14:37:10 +0200

On Thu, Jun 4, 2009 at 2:28 PM, Carlo Rossi <address@hidden> 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


reply via email to

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