Interactive regression on a plot
Version 1.0.0.0 (1,8 ko) par
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
Citation pour cette source
Ivar Eskerud Smith (2026). Interactive regression on a plot (https://fr.mathworks.com/matlabcentral/fileexchange/28546-interactive-regression-on-a-plot), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
