Least-squares fit by a function linear in the parameters

Performs a least-squares fit by a function which in linear in the parameters to be adjusted (for example any polynomial).

이 제출물을 팔로우합니다

Following the approach on page 266 from the book "Probability and statistics in particle physics" by A.G. Frodesen, O. Skgeggestad and H. Tofte, the parameters from the least squares fit by a function linear in the parameters (for example a straight line or any polynomial, a sine function if only the amplitude and/or offset are fitted and not the frequency nor the phase) are obtained, together with the covariance matrix of those parameters, the chi squared and the p-value. Four examples (straight line, parabola, fit by polynomials from the Legendre basis and ampltude and offset of a sine function) are provided in a different script.

인용 양식

Lucas Pavlov (2026). Least-squares fit by a function linear in the parameters (https://kr.mathworks.com/matlabcentral/fileexchange/73044-least-squares-fit-by-a-function-linear-in-the-parameters), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Polynomials에 대해 자세히 알아보기

태그

태그 추가

Add the first tag.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0