# fracfactgen

Two-level fractional factorial design generators

## Syntax

## Description

returns a cell array containing generators for the smallest two-level fractional factorial
design for estimating the linear model terms specified by `generators`

= fracfactgen(`terms`

)`terms`

. Pass
`generators`

to `fracfact`

to produce the design and its confounding pattern.

returns generators for a design with 2`generators`

= fracfactgen(`terms`

,`k`

)

runs,
if possible. If ^{k}`k`

is `[]`

, then
`fracfactgen`

returns generators for the smallest possible
design.

returns generators for a design with the resolution `generators`

= fracfactgen(`terms`

,`k`

,`res`

)`res`

, if possible.
If `fracfactgen`

is unable to find a design at the specified resolution,
it tries to find a lower resolution design that is sufficient to calibrate the model.

returns generators for a design in which the factors in `generators`

= fracfactgen(`terms`

,`k`

,`res`

,`basic`

)`basic`

receive
full factorial treatment. If you do not specify `basic`

, then
`fracfactgen`

includes factors that are part of the highest order
interaction in `terms`

.

## Examples

## Input Arguments

## Output Arguments

## References

[1] Box, G. E. P., W. G. Hunter, and
J. S. Hunter. *Statistics for Experimenters*. Hoboken, NJ:
Wiley-Interscience, 1978.

## Version History

**Introduced in R2006a**