MATLAB: Full factorial design in MATLAB

factorial designff2nfracfactfull factorial designfullfactMATLAB

I am trying to generate a Full factorial design using the ff2n command. Is there a reason why the command generates a 2 level full factorial design with values of 0 and 1 for the 2 levels and not -1 and 1 ?
Because, in case of Fractional factorial design using fracfact command generates the design with values -1 and 1 for the levels.
Thank you in advance for your explanation.
Anurag Ramarao Murali.

Best Answer

"Because" is probably the best answer...the two levels are simply coded levels.
>> ff2n(2)
ans =
0 0
0 1
1 0
1 1
>> ans*2-1
ans =
-1 -1
-1 1
1 -1
1 1
>>