Gaussian Peaks in Plotted Data

I want to find gaussian peaks in my plotted data and not just the local maxima peaks. 'findpeaks' won't work because it thinks that my x values aren't increasing monotonically. Also, findpeaks is just for the local maxima. I want to fit each peak with a Gaussian curve and transpose it onto my plotted data. Is there a tolbox or command I can use to easily find these peaks? I want to make a graph like the attached.
Peak_Analysis_01.png?v=2661

1 comentario

Thor
Thor el 22 de Feb. de 2021
Hi, could I take alook at your code? I got a similar issue

Iniciar sesión para comentar.

 Respuesta aceptada

Anmol Dhiman
Anmol Dhiman el 6 de Sept. de 2019

0 votos

1 comentario

Niara Wright
Niara Wright el 9 de Sept. de 2019
Thanks very much for the help. The ipf.m is what I was looking for. I was able to get a plot similar to what is posted in the questions but I have to keep playing around with it to get a fit of the entire data set at the same time.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 3 de Sept. de 2019

Comentada:

el 22 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by