standard deviation in errorbar
Show older comments
x=1:10;
y=rand(10,50);
errorbar(x, mean(y,2), std(y,[],2)) % 1 standard deviation
Just multiplying std by 2 in the errorbar, right?
errorbar(x, mean(y,2), 2 * std(y,[],2))
Accepted Answer
More Answers (0)
Categories
Find more on Errorbars 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!