Interactive regression on a plot

Perform regression on plotted data in a figure by manually choosing the regression area.
519.0 次下载
更新时间 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 (2026). Interactive regression on a plot (https://ww2.mathworks.cn/matlabcentral/fileexchange/28546-interactive-regression-on-a-plot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear and Nonlinear Regression 的更多信息
版本 已发布 发行说明
1.0.0.0