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 (2024). Interactive regression on a plot (https://www.mathworks.com/matlabcentral/fileexchange/28546-interactive-regression-on-a-plot), MATLAB Central File Exchange. Récupéré 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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |