How to plot a mixed density function?
Afficher commentaires plus anciens
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 commentaire
Torsten
le 5 Avr 2020
h = histogram(data,'Normalization','probability')
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Half-Normal Distribution dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!