help-octave
[Top][All Lists]
Advanced

[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:06 +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
> 


      




reply via email to

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