I am attaching herewith the data i am working with. Findpeaks() is not detecting the highest amplitude peaks. Attached is the data I am working with. Following is the code:
file = 'forRef_2.xls';col = xlsread(file,'J:J');peaks=findpeaks(col);[pks,locs] = findpeaks(col);%both on same plot
figureplot(col,'r')hold onplot(locs,pks,'pg', 'MarkerFaceColor','b')legend('original','peaks')
Best Answer