[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
- loop, Carlo Rossi, 2009/06/03
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop,
Jaroslav Hajek <=
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04