| Statistics Toolbox | Search  Help Desk |
| fullfact | Examples See Also |
Full-factorial experimental design.
Syntax
design = fullfact(levels)
Description
design = fullfact(levels) give the factor settings for a full factorial design. Each element in the vector levels specifies the number of unique values in the corresponding column of design.
For example, if the first element of levels is 3, then the first column of design contains only integers from 1 to 3.
Example
Iflevels = [2 4], fullfact generates an eight run design with two levels in the first column and four in the second column.
d = fullfact([2 4])
d =
1 1
2 1
1 2
2 2
1 3
2 3
1 4
2 4
See Also
ff2n,dcovary,daugment,cordexch