I am a little confused with how to use the function smooth in matlab. At the moment I have a function f(x), here x contains 6 independent variable. I would like to first smooth this function then minimize it. So I write the code as follows.
But ga still fails to find the correct minimum (which I know where it is as I am doing a simulation) and returns exact the same answer as in the case of just minimizing f. I am not sure where is this problem. Could you shed some light on this?