Standard deviation of peak values
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Iain
le 4 Juin 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.
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!