what is an acceptable values for fval in solver?

4 visualizaciones (últimos 30 días)
Juan Angel
Juan Angel el 31 de Mayo de 2022
Comentada: Juan Angel el 1 de Jun. de 2022
Hello!!.
Can someone help me with this please.
When using a solver, example lsqnonlin, in your opinion, what is an acceptable values for fval in solver as 4.6744e-11?.
Thank you!!
  3 comentarios
Walter Roberson
Walter Roberson el 1 de Jun. de 2022
sqrt(1.1099e-09) corresponds to 3.3e-5. Is an error of 3 1/2 cents per $1000 in the forecast acceptable?
Juan Angel
Juan Angel el 1 de Jun. de 2022
Thank you very much @Walter Roberson, very good example!.

Iniciar sesión para comentar.

Respuestas (1)

Star Strider
Star Strider el 31 de Mayo de 2022
That depends entirely on the data and the model. The lsqnonlin function does not return an ‘fval’ output, however it does return the squared norm of the residual as the second output.
  4 comentarios
Star Strider
Star Strider el 1 de Jun. de 2022
Our pleasure!

Iniciar sesión para comentar.

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by