Separating and plotting the individual terms from a fitted two-term gaussian function

Hello,
I have plotted my data as a histogram and fitted a two-term gaussian function to it. I would now like to use the information produced from plotting this two-term function to plot each of the terms individually. Is this possible and how would I go about doing this?
This is not my data but I am trying to achieve something like this....
Thank you for any help!

Answers (0)

Asked:

on 9 Apr 2020

Community Treasure Hunt

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

Start Hunting!