The script includes (1) a data set simulation and (2) mixed-design analysis using ANOVAN
In a mixed-design ANOVA model:
one factor (a fixed effects factor) is a between-subjects variable and
the other (a random effects factor) is a within-subjects variable)
R P (2020). mixed_design_anova.m (https://www.mathworks.com/matlabcentral/fileexchange/47514-mixed_design_anova-m), MATLAB Central File Exchange. Retrieved .