annotate 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
rev   line source
yading@10 1 Y = genspecsines([10.3, 20.6, 30.9], [-10, -13, -16], [0, 0, 0], 1024);
yading@10 2 %Y_sin = genspecsines_sin([10.3, 20.6, 30.9], [-10, -13, -16],[0, 0, 0], 1024);
yading@10 3 figure;
yading@10 4 subplot(2,2,1)
yading@10 5 plot(Y);
yading@10 6 subplot(2,2,2)
yading@10 7 plot(Y_sin);
yading@10 8 subplot(2,2,3)
yading@10 9 plot(ifft(Y));
yading@10 10 subplot(2,2,4)
yading@10 11 plot(ifft(Y_sin));