Standard deviation of peak values

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

 채택된 답변

Anders
Anders 2013년 6월 4일

0 개 추천

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.

추가 답변 (1개)

Iain
Iain 2013년 6월 4일

0 개 추천

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.

카테고리

질문:

2013년 6월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by