to the specified tolerance (i.e., using the default |StopTol|
% input parameter value of |1e-5|). This exit flag indicates that the
% maximum number of function evaluations was exceeded. (See the
% <A3_poblano_out_docs.html Optimization Output Parameters> documentation
% for more details.) Increasing the number of maximum numbers of function
% evaluations and iterations allowed, the optimizer converges to a solution
% within the specified tolerance. 
out = ncg(@(x) example2(x,Data), x0, 'MaxIters',1000, ...