Statistics Toolbox | ![]() ![]() |
Full-factorial experimental design.
Syntax
design = fullfact(levels)
Description
give the factor settings for a full factorial design. Each element in the vector design = fullfact(levels)
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
If levels
= [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
![]() | fsurfht | gamcdf | ![]() |