I am using fminunc with quasi-Newton algorithms (BFGS and DFP). Is there is a way to record the approximation of the Hessian after each iteration? I looked at using the Outputfcn field, but the optimValues structure doesn't seem to include the Hessian updates.
MATLAB: Fminunc: get Hessian approximation after each iteration
fminuncOptimization Toolboxquasi-newton
Best Answer