Interactive regression on a plot

Perform regression on plotted data in a figure by manually choosing the regression area.

Sie verfolgen jetzt diese Einreichung

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

Zitieren als

Ivar Eskerud Smith (2026). Interactive regression on a plot (https://de.mathworks.com/matlabcentral/fileexchange/28546-interactive-regression-on-a-plot), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0