U?ytkownik "swinnn " napisa? w wiadomo?ci grup dyskusyjnych:email@example.com...
M=length(DataFilt); % Length of filtered signal nfft=2^nextpow2(M); Y=fft(DataFilt,nfft)/M Below is my code for detection peaks for filtered signal. This code works but it doesnt return me highest 10 frequencies but highest peak in filtered signal graph.
[peakValues, peakLocations] = findpeaks(DataFilt)
Could anybody help me, please?? ANY suggestions? I've been googling a lot, but cant find the solution.