| Statistics Toolbox | ![]() |
Two-level full-factorial designs.
Syntax
X = ff2n(n)
Description
X = ff2n(n) creates a two-level full-factorial design, X, where n is the desired number of columns of X. The number of rows in X is 2n.
Example
X = ff2n(3)
X =
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
X is the binary representation of the numbers from 0 to 2n-1.
See Also
| fcdf | finv | ![]() |