From: Gumah on
On Apr 20, 10:32 pm, Gumah <alrjele2...(a)gmail.com> wrote:
> On Apr 20, 6:16 pm, "Bruno Luong" <b.lu...(a)fogale.findmycountry>
> wrote:
>
>
>
>
>
> > > Just 1 more question.. how to number the answer like:
>
> > >  ans(1) =
>
> > >     1     2     3     4     5
>
> > >  ans(2)=
>
> > >      20    21    22    23    24
>
> > Store in cell:
>
> > list = c(l>1)
>
> > list{1}
> > list{2}
>
> > Bruno
>
> Hi Bruno..
> now I have this code
> for i=1 : n
>    a= length(list{i});
>    v(i) = a;
>
> end
>
> C1=max(v)
> C2=min(v)
> C3=mean(v)
> I put all the answers in a victor in order to get the max, min and
> mean ..but I got this error
> ??? Index exceeds matrix dimensions.
>
> Error in ==> Untitled4 at 26
> C1=max(v)
> I dont know what is wrong..- Hide quoted text -
>
> - Show quoted text -

I got it after clear all command
Thanks any way !!