How to plot a mixed density function?
古いコメントを表示
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 件のコメント
Torsten
2020 年 4 月 5 日
h = histogram(data,'Normalization','probability')
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Half-Normal Distribution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!