1-sigma error from data
25 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Markus Similä
le 21 Juil 2022
Réponse apportée : Chunru
le 21 Juil 2022
I have several thousand datapoints that follow a normal distribution (not zero centered and values ranging roughly from -500 to 500).
How can I get the interval from mean-1-sigma to mean+1-sigma?
0 commentaires
Réponse acceptée
Chunru
le 21 Juil 2022
x = 500*randn(10000, 1) + 200; % some data
mx = mean(x);
sx = std(x);
plot(x, 'o'); hold on; grid on;
yline(mx+[-1 0 1]*sx, 'r');
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur ANOVA dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!