M
Marcas
Guest
Using Excel, I have found the standard deviation of 9.65 and the mean for 88.7 for the data in the matlab code below. The following code has been used to plot the normal distribution:
x = [63,75,75,76,80,80,80,80,82,85,89,90,90,91,91,93,94,94,94,95,95,97,98,98,99,100,100,100,100]
mu = 90;
sigma = 7.643161;
pdfNormal = normpdf(x,mu,sigma);
plot(x, pdfNormal);
However, the curve produced is not perfectly bell-shaped. What am I missing in the code or what additional calculation do I need to perform in order to achieve a perfect bell-shape?
x = [63,75,75,76,80,80,80,80,82,85,89,90,90,91,91,93,94,94,94,95,95,97,98,98,99,100,100,100,100]
mu = 90;
sigma = 7.643161;
pdfNormal = normpdf(x,mu,sigma);
plot(x, pdfNormal);
However, the curve produced is not perfectly bell-shaped. What am I missing in the code or what additional calculation do I need to perform in order to achieve a perfect bell-shape?