Standard deviation of peak values
Show older comments
Hi all
I have a sligth issue, concerning standard deviation of some peak values.
I have three curves (a, b and c) plus a mean curve
I am interested in the peak values, but need the standard deviation of these aswell. Etc. mean value peak = 168 +/- std. dev?
Any thoughts of how to do that? I am pretty new to matlab i have to say.
Best regards Anders
Accepted Answer
More Answers (1)
Iain
on 4 Jun 2013
Yuo can get the peak value with:
peak = max(curve);
You can calculate a standard deviation with:
sigma = std(samples);
So,
peak(1) = max(a);
peak(2) = max(b);
peak(3) = max(c);
sigma = std(peak);
Not really all that sensible to use stanard deviation for 3 samples though.
Categories
Find more on Descriptive Statistics 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!