From: Tohid Erfani on
Hi
Lets do the following

set your bounds as a cell:
a{1}=[-1;-0.5;0;.5;1]
and etc
and include them as follows

[dCE,X] = cordexch(nfactors,nruns,A,'bounds',a)

where A is a model you wish to have

A=[0 0 0...0 ;
1 0 0 ...0;
......;
0 0 0 ...1;
1 1 0 ....;
......;]

where 1 indicates that the factor presents into the model.

Good luck;
Tohid Erfani



"Tohid " <erfanitohid(a)gmail.com> wrote in message <hp245a$qs2$1(a)fred.mathworks.com>...
> Hi mates,
>
> I would like to build a D-optimal Design uisng matlab with the following information:
>
> y=b0+b1 x1+b2 x2+b3 x3+b4 x1^3 +b5 x1*x2
>
> when
>
> X1: 5 levels (-1, -0.5, 0, 0.5, 1)
> X2: 2 levels (-1, 1)
> X3: 2 levels (-1, 1)
>
> with N runs.
>
> Many thanks
> Tohid