pregress.m

버전 1.0.0.0 (1.55 KB) 작성자: Elizabeth
A Matlab function pregress.m to carry out linear regression for an arbitrary order n polynomial.
다운로드 수: 200
업데이트 날짜: 2012/7/18

라이선스 보기

FUNCTION INPUTS:
* a set of data points (xi; yi), for i=1:N
* the order of the fit
FUNCTION OUTPUT:
* should output the estimated polynomial coefficients.
USES:
* Use the regression function to fit a polynomial globally (i.e., to the entire data set).
* Plot the fitted polynomial (using a continuous line) on top of your actual data points marked as discrete symbols. * Experiment with the order n and observe the quality of your results.

인용 양식

Elizabeth (2024). pregress.m (https://www.mathworks.com/matlabcentral/fileexchange/37540-pregress-m), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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