Standard deviation of peak values

11 views (last 30 days)
Anders
Anders on 4 Jun 2013
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

Anders
Anders on 4 Jun 2013
Thank you Iain
I am aware it is not the best, but i only have three samples, and my supervisor want some kind of statistics on them.

More Answers (1)

Iain
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!