Gaussian Peaks in Plotted Data

조회 수: 71 (최근 30일)
Niara Wright
Niara Wright 2019년 9월 3일
댓글: Thor 2021년 2월 22일
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
Thor
Thor 2021년 2월 22일
Hi, could I take alook at your code? I got a similar issue

댓글을 달려면 로그인하십시오.

채택된 답변

Anmol Dhiman
Anmol Dhiman 2019년 9월 6일
  댓글 수: 1
Niara Wright
Niara Wright 2019년 9월 9일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by