Standard deviation of peak values
조회 수: 16 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
추가 답변 (1개)
Iain
2013년 6월 4일
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!