How to plot distribution curve of multiple data?

2 views (last 30 days)

Accepted Answer

Setsuna Yuuki.
Setsuna Yuuki. on 13 Nov 2020
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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!