MATLAB: Maximum point using fminbnd

optimisation

Hello,
I have been advised that fminbnd is a simple method for calculating max/min points on a polynomial curve. However reading the document it appears this calculates a minimum point. May I plot the second derivative in order to require a minimum? This would also represent my data better. Will someone please instruct me on this procedure please?
Gavin.

Best Answer

Apply fminbnd to -f ; this will give you maxima of the function.
Best wishes
Torsten.