MATLAB: Sensitivity during optimisation, with fun argument

fminbndfunmaximisationoptimisation

Hi
when optimising with fminbnd I find that the y value may vary due to experimental sensitivity. On reading I find the 'fun' argument may reduce plot sensitivity. Am I correct and will someone please instruct me on how to accomplish this?
Gavin.

Best Answer

Thank you for your input, during re-reading the manual it appears that 'smoothing' in chapter 2 will accomplish this. My original data has minor fluctuations. Thanks again.
Gavin.
Related Question