plot bimodality as gaussian mixture

1 view (last 30 days)
Olga
Olga on 9 Sep 2014
Commented: the cyclist on 28 Oct 2014
Please could you help me. I have a vector of values. When i plot a bar graph, i see bimodality. Could you please explain me how i can also present in the same graph gaussian mixture for two modes? Thank you very much for your answer!

Answers (2)

the cyclist
the cyclist on 27 Oct 2014
Sorry for the long delay, but I found your question after doing some searching myself on this topic. If you have the Statistics Toolbox, you might find the fitgmdist function to be useful for fitting a gaussian mixture model.

Olga
Olga on 27 Oct 2014
Thank you !
  1 Comment
the cyclist
the cyclist on 28 Oct 2014
The best form of thanks here is accepting the answer if helped you, which may also help future uses identify solutions to their own problems.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!