How to plot a mixed density function?
Ältere Kommentare anzeigen
Hi
So, lets say I get 10000 random numbers:
-5000 from normal distribution with mean = 1 and sigma = 1
-5000 from normal distribution with mean = 4 and sigma = 1
Now I have to plot density function.
I know how to plot single density function, not a mix.
Can you help me?
Thanks,
Lukas
1 Kommentar
Torsten
am 5 Apr. 2020
h = histogram(data,'Normalization','probability')
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Half-Normal Distribution finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!