Calculate 2 standard deviations
Show older comments
I am trying to calculate +/- two standard deviations from the mean of a bunch of values. I am not sure if I am using the standard deviation function properly. Would I just multiply by two to get 2 standard deviations?
dmean = mean(values(:,1)); upperstd = dmean+2*std(values(:,1)); lowerstd = dmean-2*std(values(:,1));
Accepted Answer
More Answers (1)
bym
on 28 Aug 2011
0 votes
that is correct
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!