what is an acceptable values for fval in solver?

4 Ansichten (letzte 30 Tage)
Juan Angel
Juan Angel am 31 Mai 2022
Kommentiert: Juan Angel am 1 Jun. 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 Kommentare
Walter Roberson
Walter Roberson am 1 Jun. 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 am 1 Jun. 2022
Thank you very much @Walter Roberson, very good example!.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 31 Mai 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 Kommentare
Star Strider
Star Strider am 1 Jun. 2022
Our pleasure!

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by