How to plot distribution curve of multiple data?

 Réponse acceptée

x = [-3:.1:3];
y = normpdf(x,0,1);
y2 = normpdf(x,0,0.5);
plot(x,y,x,y2)
More info:https://es.mathworks.com/help/stats/normal-distribution.html

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by