confidenceInterval

calculate confidence interval
46 Downloads
Updated 10 Sep 2020

View License

This function is written to calculate confidence interval (variable percentage) about, usually, the mean of a dateset but can be used for any number.

Input ->
a. 'n' = sample size
b. mean
c. standard deviation
d. type (option = 90, 95, 99)(enter as a value NOT string or char)
Output ->
1x2 double array [lower bound , upper bound]

Future version: to be uploaded soon

Cite As

Anmol Pardeshi (2026). confidenceInterval (https://uk.mathworks.com/matlabcentral/fileexchange/80050-confidenceinterval), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0