standard deviation and mean
214 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Fire
am 28 Jun. 2011
Beantwortet: Shreedhar Todkar
am 8 Jul. 2016
Hello everybody,
I have 36 values of mean and their standard deviation. 12 values falls between 38 to 45, another 12 values falls between 53 to 60 and another 12 values fall between70 to 75. I just want to show in a graph clearly the mean values and their standard deviation. I tried so many but none of them are really clear bcoz, I have values like 43.77, 43.10, 43.5... some close values.. how can I do that.. help me
1 Kommentar
Akzeptierte Antwort
Oleg Komarov
am 28 Jun. 2011
% The data
Y = [rand(12,1)*7 + 35; rand(12,1)*7 + 53; rand(12,1)*5 + 70];
% The standard deviations
E = rand(36,1)*10 + 3;
% Mean values with error bars
errorbar(Y,E,'x')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167889/image.png)
Weitere Antworten (4)
Stuart Layton
am 28 Jun. 2011
boxplot, barplot with error bars, you can plot a histogram of the values, there are lot of ways to plot the data. Which plot type is best is usually a function of the type of data you are plotting
0 Kommentare
Sean de Wolski
am 28 Jun. 2011
help plot
?
2 Kommentare
Sean de Wolski
am 28 Jun. 2011
"I just want to show a graph."
How can plot not show the graph? Please be more specific with what you want. You kind of gave us sample data and said you wanted to plot it. We don't know anything else. Perhaps find a picture on google images that shows it or something to help us along.
Krishna Kumar
am 28 Jun. 2011
If you are plotting close values and if the plot's not clear , try change the axes limits so that the variation is clearer
0 Kommentare
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!