How to estimate the accuracy for an estimated tine segment when actual line is known?

1 view (last 30 days)
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.
  2 Comments
Tharindu Weerakoon
Tharindu Weerakoon on 25 Nov 2015
Estimating using Orthogonal Least squares method which is a separately written matlab m-file, not the ployfit() function.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 25 Nov 2015
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?

Community Treasure Hunt

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

Start Hunting!