Hi everyone,
Nowadays, I am working on sound recognation project via matlab. I am currently able to realize some notes. All of them are good but, I, now, have a problem with matlab.
I should recognize frequencies of peak values in my array. (fourier output) So, I can find peaks in my array like that,
pks = findpeaks(abs(F));
[m,n] = size(pks);
for i=1:m
fprintf('peak%i: %i\n',i, pks(i,1));
end
but it gives to me values of at max point. Not frequencies. (in frequency domain x axis describes frequencies and y axis describes magnetude of signal)
So, how can I get frequencies for all peak(local max values) values?
Best Regards,
Karamel