how to find standard deviation in six sigma format?
3 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1467691/image.png)
0 Comments
Answers (1)
Cris LaPierre
on 29 Aug 2023
Edited: Cris LaPierre
on 29 Aug 2023
The function std returns one standard deviation. Multiply by +/-1, +/-2 and +/-3 to get more than that.
Here's a simple example
% generate a distribution
x = linspace(425,745,200);
y = normpdf(x,580,35);
scatter(x,y)
mu = mean(x)
xline(mu,'g--')
sd = std(x)
xline(mu + sd,'m--')
xline(mu - sd,'m--')
xline(mu + 2*sd,'b:')
xline(mu - 2*sd,'b:')
xline(mu + 3*sd,'k-.')
xline(mu - 3*sd,'k-.')
2 Comments
Cris LaPierre
on 30 Aug 2023
I can't duplicate the error. Please attach your spreadsheet to your post using the paperclip icon
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!