Interactive regression on a plot
Versione 1.0.0.0 (1,8 KB) da
Ivar Eskerud Smith
Perform regression on plotted data in a figure by manually choosing the regression area.
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
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Linear and Nonlinear Regression in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |