How to run a curve approximation on a script using a function defined in a file and display the goodness of fit in a command window
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to do a curve approximation on a script and show the goodness of fit in the command window at the same time as the result. ( SSE. Determination Factor, Degree of Freedom Adjusted Determination Factor, RMSE, etc.).
What syntax do I need to put in my script to make it appear in a command window or workspace?
댓글 수: 0
채택된 답변
Matt J
2020년 5월 16일
You can't use the curve fit tool for a curve defined in an mfile. You can use lsqcurvefit, if you have the optimization toolbox, but you will have to do your own calculation of the goodness of fit metrics.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!