Error using optimset(@lsqnonlin) matlab 2020b

14 views (last 30 days)
Hi,
I'm having trouble using optimset () for lsqnonlin () function. I am using matlab version 2020b.
...
options = optimset(@lsqnonlin)
X = lsqnonlin('filtroRC', X0, [], [], options, Vin, t, Vout_e)
...
Error using optimset (line 163)
No default options available for the function 'lsqnonlin'.
I would appreciate suggestions

Accepted Answer

Walter Roberson
Walter Roberson on 30 Nov 2020
Edited: Walter Roberson on 30 Nov 2020
  5 Comments
Yi Zhao
Yi Zhao on 19 Apr 2022
Hello, Gómez. What is the plug-in you installed
Juan Gómez
Juan Gómez on 19 Apr 2022
Hi, was the Optimization Toolbox, just browse from matlab itself:
Add-Ons > Get Add-Ons > Optimization Toolbox

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!