% calculate the 95% Confidence Interval 
% samples: an arrays of samples, or measurements 
function conf_int = ConfInterval(samples)

n = length(samples);
sigma = std(samples);
% for confidence interval 95%
z = 1.960; 
conf_int = z * (sigma / sqrt(n));
end
