Interactive regression on a plot

Perform regression on plotted data in a figure by manually choosing the regression area.
ダウンロード: 518
更新 2010/8/25

ライセンスの表示

Plot data in a figure, and then interactively choose regression area. The result from polyfit is returned.
Example:
x=1:1:10;y=sin(x);
f=figure; plot( x,y );
[p,h] = figreg( f, 2 );
%fit a second order polynom to selected region in plot

引用

Ivar Eskerud Smith (2024). Interactive regression on a plot (https://www.mathworks.com/matlabcentral/fileexchange/28546-interactive-regression-on-a-plot), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
すべてのリリースと互換性あり
プラットフォームの互換性
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