problem.CostFunction = @(x) MinPe(x, Biv, Cell);
I have this Matlab fucntion where x is a variable. The value of x is an array of 24 digits which only consist 0's and 1's. x is automatically selecting this input.
I want expand the range of x i.e. the array should not only consists 0's and 1's but within the range of 0 to 3.
for example, in case of 5 digits:
x is taking a value like [0 1 0 1 1]
but x should take a value like [0 3 2 1 3]
Could you please tell me the process to do it?