Mercurial > hg > pmhd
view extra/genspecsines2.m @ 13:844d341cf643 tip
Back up before ISMIR
author | Yading Song <yading.song@eecs.qmul.ac.uk> |
---|---|
date | Thu, 31 Oct 2013 13:17:06 +0000 |
parents | 6840f77b83aa |
children |
line wrap: on
line source
Y = genspecsines([10.3, 20.6, 30.9], [-10, -13, -16], [0, 0, 0], 1024); %Y_sin = genspecsines_sin([10.3, 20.6, 30.9], [-10, -13, -16],[0, 0, 0], 1024); figure; subplot(2,2,1) plot(Y); subplot(2,2,2) plot(Y_sin); subplot(2,2,3) plot(ifft(Y)); subplot(2,2,4) plot(ifft(Y_sin));