Fractional factorial design
X = fracfact(gen)
[X,conf]
= fracfact(gen)
[X,conf]
= fracfact(gen,Name,Value)
creates
the twolevel fractional factorial design defined by the generator X
= fracfact(gen
)gen
.
[
returns a cell array
of character vectors containing the confounding pattern for the design.X
,conf
]
= fracfact(gen
)
[
creates
a fractional factorial designs with additional options specified by
one or more X
,conf
]
= fracfact(gen
,Name,Value
)Name,Value
pair arguments.

Either a cell array of character vectors where each cell contains
one "word," or a character array consisting of "words"
separated by spaces. "Words" consist of casesensitive
letters or groups of letters, where Each word defines how the corresponding factor's levels
are defined as products of generators from a 
Specify optional commaseparated pairs of Name,Value
arguments.
Name
is the argument
name and Value
is the corresponding
value. Name
must appear
inside single quotes (' '
).
You can specify several name and value pair
arguments in any order as Name1,Value1,...,NameN,ValueN
.

Cell array specifying the name for each factor. Default: 

Positive integer setting the maximum level of interaction to include in the confounding output. Default: 

The twolevel fractional factorial design.
Because 

Cell array of character vectors containing the confounding pattern for the design. 
Generate a fractional factorial design for four variables, where the fourth variable is the product of the first three:
x = fracfact('a b c abc') x = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Find generators for a sixfactor design that uses four factors
and achieves resolution IV using fracfactgen
.
Use the result to specify the design:
generators = fracfactgen('a b c d e f',4, ... % 4 factors 4) % resolution 4 generators = 'a' 'b' 'c' 'd' 'bcd' 'acd' x = fracfact(generators) x = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
[1] Box, G. E. P., W. G. Hunter, and J. S. Hunter. Statistics for Experimenters. Hoboken, NJ: WileyInterscience, 1978.
ff2n
 fracfactgen
 fullfact
 hadamard