Skip to main content

Section 6.7 MATLAB/Octave function fminsearch

MATLAB/Octave has its own instruction to find function's minima: fminsearch. The code below shows how to use this instruction. The function used in the example is Rosenbrock's function.