How can I perform a full factorial analysis of the simulation using 5 replications with the following three inputs (a, b, and c) to the function that have a range of valid values:
Variable Minimum (A-) Maximum(A-)
a 0.01 0.1
b 1 5
c 1 3
I have the following code but I'm having trouble creating a loop and output matrix.
n = 3;DM = ff2n(n);DM ( DM == 0 ) = -1;a = .01 : .1;b = 1 : 5;c = 1 : 3;Xa = ((0.01 + 0.1)/2) + ((0.1 - 0.01)/2) * a;Xb = ((1 + 5)/2) + ((5 - 1)/2) * b;Xc = ((1 + 3)/2) + ((3 - 1)/2) * c;Xa = ((-a + a)/2) + ((-a - a)/2) * a;>> A = DM(:,1);>> B = DM(:,2);>> C = DM(:,3);
Best Answer