Statistics Toolbox    
rowexch

D-optimal design of experiments - row exchange algorithm.

Syntax

Description

settings = rowexch(nfactors,nruns) generates the factor settings matrix, settings, for a D-Optimal design using a linear additive model with a constant term. settings has nruns rows and nfactors columns.

[settings,X] = rowexch(nfactors,nruns) also generates the associated design matrix X.

[settings,X] = rowexch(nfactors,nruns,'model') produces a design for fitting a specified regression model. The input, 'model', can be one of these strings:

Example

This example illustrates that the D-optimal design for three factors in eight runs, using an interactions model, is a two level full-factorial design.

See Also
cordexch, daugment, dcovary, fullfact, ff2n, hadamard


 robustfit rsmdemo