How can I plot mean +/- 1 standard deviation for every data point in my dataset ?

3 vues (au cours des 30 derniers jours)
pranathi chunduru
pranathi chunduru le 24 Avr 2017
I have a dataset of 15 data points. And I calculated mean(dataset) + 1*standard value(dataset) ,mean(dataset) - 1*standard value(dataset). I would like to plot these values as error bars for every data point in the data set. Please let me know how do it do it?
Thanks

Réponses (1)

Joseph Cheng
Joseph Cheng le 24 Avr 2017
have you looked up the function errorbar()? it should get you what you'll need
  1 commentaire
pranathi chunduru
pranathi chunduru le 24 Avr 2017
Hi I have looked up the errorbar() but I'm unable to understand how it works. The mean +/- 1SD value is higher than some of the data points. so the errorbar goes above the point where it should be

Connectez-vous pour commenter.

Catégories

En savoir plus sur Errorbars 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!

Translated by