How can I find peaks in a same distance in a graph? i am getting peaks using findpeaks command but they are not in the same distance.Iam attaching the graph which I am getting.

2 Kommentare

KSSV
KSSV am 26 Jul. 2020
There is option of providing distance to findpeaks function, did you use that?
Image Analyst
Image Analyst am 26 Jul. 2020
>> test
Unrecognized function or variable 'I0'.
Error in test (line 3)
SD=sqrt(I0); %Standard deviation of excitation photons

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 26 Jul. 2020

0 Stimmen

A good way to play around with settings until you get what you want is with the Find Local Extrema task in a live script. See here.

Tags

Gefragt:

am 26 Jul. 2020

Beantwortet:

am 26 Jul. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by