bbdesign

Generates a design matrix for Box-Behnken with specified number of factors f.

Syntax

R = bbdesign(f)

Inputs

f
An integer specifying the number of factors. Must be greater than 2 and less than 8.
Type: double | integer
Dimension: scalar

Outputs

R
A design matrix for Box-Behnken with specified number of factors.

Example

Simple bbdesign example.

bbdesign (7)
R = [Matrix] 62 x 7
0  0  0  -1 -1 -1 0  
0  0  0  -1 -1 1  0  
0  0  0  -1 1  -1 0  
0  0  0  -1 1  1  0  
0  0  0  1  -1 -1 0  
0  0  0  1  -1 1  0  
0  0  0  1  1  -1 0  
0  0  0  1  1  1  0  
-1 0  0  0  0  -1 -1 
-1 0  0  0  0  -1 1  
-1 0  0  0  0  1  -1 
-1 0  0  0  0  1  1  
1  0  0  0  0  -1 -1 
1  0  0  0  0  -1 1  
1  0  0  0  0  1  -1 
1  0  0  0  0  1  1  
0  -1 0  0  -1 0  -1 
0  -1 0  0  -1 0  1  
0  -1 0  0  1  0  -1 
0  -1 0  0  1  0  1  
0  1  0  0  -1 0  -1 
0  1  0  0  -1 0  1  
0  1  0  0  1  0  -1 
0  1  0  0  1  0  1  
-1 -1 0  -1 0  0  0  
-1 -1 0  1  0  0  0  
-1 1  0  -1 0  0  0  
-1 1  0  1  0  0  0  
1  -1 0  -1 0  0  0  
1  -1 0  1  0  0  0  
1  1  0  -1 0  0  0  
1  1  0  1  0  0  0  
0  0  -1 -1 0  0  -1 
0  0  -1 -1 0  0  1  
0  0  -1 1  0  0  -1 
0  0  -1 1  0  0  1  
0  0  1  -1 0  0  -1 
0  0  1  -1 0  0  1  
0  0  1  1  0  0  -1 
0  0  1  1  0  0  1  
-1 0  -1 0  -1 0  0  
-1 0  -1 0  1  0  0  
-1 0  1  0  -1 0  0  
-1 0  1  0  1  0  0  
1  0  -1 0  -1 0  0  
1  0  -1 0  1  0  0  
1  0  1  0  -1 0  0  
1  0  1  0  1  0  0  
0  -1 -1 0  0  -1 0  
0  -1 -1 0  0  1  0  
0  -1 1  0  0  -1 0  
0  -1 1  0  0  1  0  
0  1  -1 0  0  -1 0  
0  1  -1 0  0  1  0  
0  1  1  0  0  -1 0  
0  1  1  0  0  1  0  
0  0  0  0  0  0  0  
0  0  0  0  0  0  0  
0  0  0  0  0  0  0  
0  0  0  0  0  0  0  
0  0  0  0  0  0  0  
0  0  0  0  0  0  0