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!