Gaussian Peaks in Plotted Data

70 views (last 30 days)
Niara Wright
Niara Wright on 3 Sep 2019
Commented: Thor on 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 Comment
Thor
Thor on 22 Feb 2021
Hi, could I take alook at your code? I got a similar issue

Sign in to comment.

Accepted Answer

Anmol Dhiman
Anmol Dhiman on 6 Sep 2019
  1 Comment
Niara Wright
Niara Wright on 9 Sep 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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!