% Plots the optimizer from fminunc 
% in the minimization basic example.

options = optimset('LargeScale','off');
x = fminunc(@objfun, x0, options);
plot(x(1), x(2), 'ro', 'MarkerFaceColor', 'r')