Linear Regression plot with Confidence Intervals in MATLAB

Sample code to plot linear regression curve with confidence intervals.

https://www.abhilashsingh.net/?source=linear_regression_matlab

您现在正在关注此提交

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

引用格式

ABHILASH SINGH (2026). Linear Regression plot with Confidence Intervals in MATLAB (https://ww2.mathworks.cn/matlabcentral/fileexchange/78703-linear-regression-plot-with-confidence-intervals-in-matlab), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.1

Link update

1.0.0