what is an acceptable values for fval in solver?

조회 수: 4 (최근 30일)
Juan Angel
Juan Angel 2022년 5월 31일
댓글: Juan Angel 2022년 6월 1일
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
Walter Roberson
Walter Roberson 2022년 6월 1일
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 2022년 6월 1일
Thank you very much @Walter Roberson, very good example!.

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2022년 5월 31일
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
Juan Angel
Juan Angel 2022년 5월 31일
Thank you @Torsten and @Star Strider.
Star Strider
Star Strider 2022년 6월 1일
Our pleasure!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by