view extra/Lab2 1d.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
x4=[2 1 0 0 0 0 0 1 ];
X4=fft(x4,8);
ejex=linspace(0,1,8);
plot(ejex,abs(X4),'*');