Problem regarding using fminunc

I'm trying to minimize the spectral norm and run into this problem. How do I solve it?

 Accepted Answer

One obvious approach is to use an options structure:
opts = optimoptions('fminunc', 'MaxFunctionEvaluations',1E+6);
x0 = ...;
x = fminunc(fun,x0,opts)

More Answers (0)

Products

Release

R2018a

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!