How can I get peak in a fixed interval in findpeaks?
load("matlab_peak.mat") ; x=V1_1_new ; y=y1_1_new ; [pks,idx] = findpeaks(y) ; plot(x,y) hold onplot(x(idx),y(idx),'*r')
Here, I am getting 7 peaks but I want more peaks(11 peaks) ,Then what should I do?
x= V1_1_new is the voltage value in volt.
In x vs y plot if I want peak in every 30mv distance then what should I do?
Best Answer