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

2 Ansichten (letzte 30 Tage)
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 Kommentare
Walter Roberson
Walter Roberson am 25 Nov. 2015
Bearbeitet: Walter Roberson am 25 Nov. 2015
How are you doing the estimation? In particular are you using polyfit()
Tharindu Weerakoon
Tharindu Weerakoon am 25 Nov. 2015
Estimating using Orthogonal Least squares method which is a separately written matlab m-file, not the ployfit() function.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 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?

Kategorien

Mehr zu Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by