I have a 1D data which need to be separated by two .

So I used

` fitgmdist(data,2);`

and got

- mu
- sigma
- component proportion

for each of the gaussian distribution.

And here is the graph. (Gray : Data, Blue : psd of GMModel from fitgmdist)

Until here, everything was okay.

So, question.

How can I separate those two gaussian distribution graph?

I tried

- Using makedist('Normal') to create each gaussian distribution.
- Multiply by each component proportion
- Add two distribution up

But somehow I wasn't able to get the same graph overlapping picture above.

Probably I have the wrong concept of "Normalization" or "Gaussian Mixture Model".

Any advise or site to lookup would be grateful.

———————————————————— @Image Analyst: data uploaded. thanks for the advice I'll remember that next time ðŸ™‚

## Best Answer