patchCI
Version 1.0.0 (1,43 ko) par
Manash Sahoo
A function to automatically patch upper and lower confidence intervals.
Patching confidence intervals using the patch() function requires performing a left-right flip on both the X component and upper portion of confidence intervals, which can be difficult to remember.
This function automatically patches your confidence intervals to a given target figure. This function does not calculate confidence intervals.
Example:
upper = (1:10) + 2;
lower = (1:10) - 2;
mean = 1:10;
x = 1:10;
fig = figure;
plot(x,mean,'LineWidth',2);
patchCI(fig,x,upper,lower,'k',.3)
Citation pour cette source
Manash Sahoo (2026). patchCI (https://fr.mathworks.com/matlabcentral/fileexchange/131099-patchci), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2022b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
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 |
