Mercurial > hg > ishara
view dsp/fq2poles.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | c3b0cd708782 |
children |
line wrap: on
line source
% fq2poles - resonant frequencies to poles % fq2poles :: nonneg, nonneg -> [[2]->complex]. % fq2poles :: [[1,N]->nonneg], [[1,N]->nonneg] -> [[2,N]->complex]. function p=fq2poles(f,q) p1=exp(2*pi*(i-q).*f); p=[p1;conj(p1)];