This is my derivative from the experiment. I just want to get the number of peaks so I used findpeaks with 'MinPeakHeight' condition.
As you can see in second picture, some of the peaks is not so sharp and it gave me two data instead of one. more problem is I can not use 'Minpeakdistance' since the distance of each experiment can be very different. I was told to make it universal, not to modify this part of my code by hand (unfortunately).
I think it can be done with a loop? delete neighbour data within 0.1 x-axis range condiiton ?
I'm kind of a newbie. appreciate every comment, thank you
Best Answer