フィルターのクリア

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

1 回表示 (過去 30 日間)
Tharindu Weerakoon
Tharindu Weerakoon 2015 年 11 月 25 日
回答済み: Image Analyst 2015 年 11 月 25 日
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 件のコメント
Walter Roberson
Walter Roberson 2015 年 11 月 25 日
編集済み: Walter Roberson 2015 年 11 月 25 日
How are you doing the estimation? In particular are you using polyfit()
Tharindu Weerakoon
Tharindu Weerakoon 2015 年 11 月 25 日
Estimating using Orthogonal Least squares method which is a separately written matlab m-file, not the ployfit() function.

サインインしてコメントする。

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeCurve Fitting Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by