[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loop
From: |
Carlo Rossi |
Subject: |
Re: loop |
Date: |
Thu, 4 Jun 2009 13:20:07 +0000 (GMT) |
I don't know if it's clear that counting is a matrix and not a vector.
--- Gio 4/6/09, Jaroslav Hajek <address@hidden> ha scritto:
> Da: Jaroslav Hajek <address@hidden>
> Oggetto: Re: loop
> A: "Carlo Rossi" <address@hidden>
> Cc: address@hidden
> Data: Giovedì 4 giugno 2009, 14:37
> 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, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop,
Carlo Rossi <=
- Re: loop, Carlo Rossi, 2009/06/04
- Re: loop, Carlo Rossi, 2009/06/04