How to estimate the accuracy for an estimated tine segment when actual line is known?
조회 수: 1 (최근 30일)
이전 댓글 표시
Suppose I have a set of XY coordinates (pink dots including noise)which is a measured values of a line segment (Black line). After estimating the best line (Orange line) for the measured data points, how can I calculate the accuracy of the fitted line with the actual one.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152153/image.png)
댓글 수: 2
Walter Roberson
2015년 11월 25일
편집: Walter Roberson
2015년 11월 25일
How are you doing the estimation? In particular are you using polyfit()
답변 (1개)
Image Analyst
2015년 11월 25일
You can get the residuals and use R or R^2 or the sum of absolute differences. R squared is a pretty common metric - why not use that?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!