HyperMath

FullDoe

FullDoe

Previous topic Next topic No expanding text in this topic  

FullDoe

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Generates factorials for a full-factorial experimental design.

Syntax

Design = FullDoe(Levels)

Argument

Name

Description

 

Levels

A vector of positive integers specifying the factors and the corresponding levels.  The length of the vector specifies the number of factors and the entries specify the corresponding levels.

Output

Name

Description

 

Design

A design matrix with full factorials.  The number of rows is equal to the product of the entries in Levels.  The number of columns is equal to the length of the vector Levels.

Example

Generate the full-factorial design for three factors with 2 levels for each.

 

Syntax

 

design = FullDoe([2,2,2])

 

Result

 

design =

    1     1     1

    2     1     1

    1     2     1

    2     2     1

    1     1     2

    2     1     2

    1     2     2

    2     2     2

Comments

Each entry of Levels must be greater than one.

See Also:

BBDoe