MATLAB: Maximum X value for maximum calculation obsurd

maximum x calculated value far too small

xHello using fminbnd to calculate a maximum, the resulting X value calculated is nought .9 whereas it should be about 3100. Can anyone suggest a reason for this? It appears that the curve in curve fitting tool is perfect however it doesn't appear to start at 0 where it should. Can anyone help please? Gavin.

Best Answer

fminbnd is a local minimizer.