% 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)];
