How can I separate a bimodal distribution into two normal distributions?

54 views (last 30 days)
Hi, I have a data that once plotted in a histogram shows a bimodal distribution.
bimodal distrib.jpg
I would like to separate the bimodal distribution into two normal distributions with respective means and standard deviation. Is there a way to individually fit the distribution to obtain the respective parameters (mean and standard deviation)? Other ways are also welcome to suggest.
Thank you all.

Answers (1)

Jeff Miller
Jeff Miller on 3 May 2019
GMModel = fitgmdist(x,2); % Your data are in x

Community Treasure Hunt

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

Start Hunting!