what is an acceptable values for fval in solver?

5 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 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?

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 31 May 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 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!