On 11/15/2012 10:16 PM, Idra wrote:
> Hi!
>
> I use this syntax to design the experiment:
>
> dFF2=ff2n(3)
>
> and the result is:
>
> dFF2 =
>
> 0 0 0
> 0 0 1
> 0 1 0
> 0 1 1
> 1 0 0
> 1 0 1
> 1 1 0
> 1 1 1
>
> I want the "0" value to be "-1" in the design of experiment matrix.
> How to do it?
>
dFF2(dFF2==0)=-1
> Hi!
>
> I use this syntax to design the experiment:
>
> dFF2=ff2n(3)
>
> and the result is:
>
> dFF2 =
>
> 0 0 0
> 0 0 1
> 0 1 0
> 0 1 1
> 1 0 0
> 1 0 1
> 1 1 0
> 1 1 1
>
> I want the "0" value to be "-1" in the design of experiment matrix.
> How to do it?
>
dFF2(dFF2==0)=-1