Fitting multiple Gaussian curves to data with multiple peaks

Hello, I have been working with the set of data attached. I have been asked to fit all of the peaks with a Gaussian distribution and then to find the mean distance between them (and associated standard deviation).
I have seen other similar questions here but have no idea where the parameters they used come from.
Grateful to anyone who can give me a hand!

 采纳的回答

3 个评论

Hi Matt, thanks for the answer, however isn’t this only applicable for up to 8 peaks?
You can split the data set in half and fit 8 peaks at a time.
If you really need a joint fit, you can then use the 8-peak fits as an initial guess in a 16-term custom equation.
Thank you! I hadn't thought of that!
Best,
Aliki

请先登录,再进行评论。

更多回答(0 个)

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by