Error using optimset(@lsqnonlin) matlab 2020b
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Juan Gómez
el 30 de Nov. de 2020
Comentada: Juan Gómez
el 19 de Abr. de 2022
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
0 comentarios
Respuesta aceptada
Walter Roberson
el 30 de Nov. de 2020
Editada: Walter Roberson
el 30 de Nov. de 2020
Wrong options routine for that function. You need https://www.mathworks.com/help/optim/ug/optim.problemdef.optimizationproblem.optimoptions.html
5 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!