Mercurial > hg > ishara
view dsp/bin2freq.m @ 47:82075c94eed1
adding a bunch of stuff, including graphics and pitch toolboxes.
author | samer |
---|---|
date | Sat, 17 Jan 2015 15:20:35 +0000 |
parents | |
children |
line wrap: on
line source
function f=bin2freq(k,N,fs) % K2F: convert DFT freq bin to freq in Hz % % f=bin2freq(k,N,fs): % k: index of frequency bin in DFT % N: frame size of FT % fs: sampling frequency f=k*fs/N;