Linear Regression plot with Confidence Intervals in MATLAB

Sample code to plot linear regression curve with confidence intervals.
1,7K téléchargements
Mise à jour 16 août 2020

Afficher la licence

This is a simplified code to generate a linear regression curve for your paper/report/assignment. Just replace the sample data and comment the line 17 : axis([0.04 0.3 0.03 .35]);

This code is originated from
https://www.mdpi.com/2072-4292/12/14/2266

Check the Medium article for details
https://medium.com/@abhilash.singh/linear-regression-plot-with-confidence-intervals-in-matlab-f90ff0825e94

Citation pour cette source

ABHILASH SINGH (2025). Linear Regression plot with Confidence Intervals in MATLAB (https://fr.mathworks.com/matlabcentral/fileexchange/78703-linear-regression-plot-with-confidence-intervals-in-matlab), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Liner Regression with CI

Version Publié le Notes de version
1.0.1

Link update

1.0.0