From: Rebecca on
I'm getting an error using anovan that doesn't make sense to me.

When I enter:
age_grp = [1 1 1 1 2 2 2 2];
order = [1 1 2 2 1 1 2 2];
X = [3 2 3 4 4 6 7 5];
p = anovan(X, {age_grp, order})

I get the error:
??? Undefined function or method 'anovan' for input arguments of type 'cell'.

But these aren't cells! What am I missing?

Thanks.
From: Tom Lane on
> p = anovan(X, {age_grp, order})
>
> I get the error:
> ??? Undefined function or method 'anovan' for input arguments of type
> 'cell'.
>
> But these aren't cells! What am I missing?

The stuff in {...} is a cell array.

It seems like you don't have the anovan function. Do you have Statistics
Toolbox installed? Try using

which anovan % to see if you have this function, and
ver % to see what products are installed

-- Tom