Gaussian Peaks in Plotted Data

19 visualizzazioni (ultimi 30 giorni)
Niara Wright
Niara Wright il 3 Set 2019
Commentato: Thor il 22 Feb 2021
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 Commento
Thor
Thor il 22 Feb 2021
Hi, could I take alook at your code? I got a similar issue

Accedi per commentare.

Risposta accettata

Anmol Dhiman
Anmol Dhiman il 6 Set 2019
  1 Commento
Niara Wright
Niara Wright il 9 Set 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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by