From: jared Hotaling on
I would like to use one of Matlab's built-in functions from the stats package to do a repeated measures anova.

My design is pretty big, so I would need to use anovan. I have 4 within-subject factors (3x3x2x2 design), repeated across 9 individuals. I've formatted my data into a matrix with one observation per individual per condition, with a column coding each factor and one column for subject ID.

If I run anovan with subID as a random factor, is this equivalent to a repeated measure analysis? Thanks for any help you can give. Sorry for posting this question when so many others have asked before. I couldn't find any posts with actual answers.