Mercurial > hg > ishara
view dsp/bin2freq.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 82075c94eed1 |
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;