drawCI95 / draw confidence interval with matlab
Version 1.0.1 (46.4 KB) by
Jianfeng Liu
draw confidence interval with matlab. using the build-in function fitlm to calculate the 95% CI.
using this function, you can easily to draw the correlation shades 95% confidence interval.
There are 2 output, patch and line. then you can change the appearance afterwards.
for more information, you can read here(fitlm): https://de.mathworks.com/matlabcentral/answers/1995998-how-to-obtain-the-fit-line-and-confidence-interval-from-fitlm
Cite As
Jianfeng Liu (2026). drawCI95 / draw confidence interval with matlab (https://www.mathworks.com/matlabcentral/fileexchange/155342-drawci95-draw-confidence-interval-with-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.1 | update the example figure |
|
|
| 1.0.0 |
|
