d in that run. That
% object contains a field called |Results|, which can be passed as the
% input parameters to another run. For example, this is helpful when
% running comparisons of methods where only one parameter is changed. Shown
% below is such an example, where default parameters are used in one run,
% and the same parameters with just a single change are used in another
% run.
out = ncg(@(x) example1(x,3), pi./[4 5 6]');
params = out.Params.Results;
params.Display = 'final';
ncg(@(x) example1(x,3),