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

1 visualización (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 25 de Nov. de 2015
Editada: Walter Roberson el 25 de Nov. de 2015
How are you doing the estimation? In particular are you using polyfit()
Tharindu Weerakoon
Tharindu Weerakoon el 25 de Nov. de 2015
Estimating using Orthogonal Least squares method which is a separately written matlab m-file, not the ployfit() function.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 25 de Nov. de 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!

Translated by