weighted total least squares straight line fit

버전 1.0.0.0 (3.01 KB) 작성자: Mathias Anton
Calculates the parameters (and their uncertainties) to data with uncertainties in both coordinates
다운로드 수: 5.4K
업데이트 날짜: 2007/11/13

라이선스 보기

The problem of fitting a straight line to data with uncertainties in both coordinates is solved using a weighted total least-squares algorithm. The parameters are transformed from the usual slope/y-axis intersection pair to slope angle and distance to the origin. The advantages of this are that a) global convergence is assured b) a solution is found even for a vertical line. The complete uncertainty matrix (i.e. variances AND covariance of the fitting parameters) is determined. For non-vertical straight lines the usual parameters (slope/y-axis intersect.) are also given, together with their uncertainty matrix. The algorithm is especially useful for precision measurements, where the knowledge of the complete uncertainty matrix is a must. The algorithm was published in Measurement Science and Technology 18 (2007) pp3438-3442 by M.Krystek and M.Anton, Physikalisch-Technische Bundesanstalt Braunschweig, Germany. An attached script named pearson_york_tetdata.m contains a standard statistical test data set for the problem (see e.g. Lybanon,M in Am.J.Phys.52(1)1984 pp22-26)

인용 양식

Mathias Anton (2024). weighted total least squares straight line fit (https://www.mathworks.com/matlabcentral/fileexchange/17466-weighted-total-least-squares-straight-line-fit), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

addition of a standard test data set