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!

 Réponse acceptée

Matt J
Matt J le 14 Mar 2021

3 commentaires

Hi Matt, thanks for the answer, however isn’t this only applicable for up to 8 peaks?
Matt J
Matt J le 14 Mar 2021
Modifié(e) : Matt J le 14 Mar 2021
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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by