Compute the 8-point DFT of a sequence x(n) = {1/a, 1/b, 1/c, 1/d, 0, 0, 0, 0} using radix-2
DIT FFT
t=-10:0.1:10;% time -10 s to 10 s with step size of 0.1s
y1=sin(t);
y2=sin(2*t);
y3=sin(5*t);
plot(t,y1,'o',t,y2,'--',t,y3)
y4=y1+y2;
figure(2)
plot(t,y4)
Comments
Leave a comment