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 Center および MATLAB AnswersLinear 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