In Problem 111 we determined the DTFT representation for eac

In Problem 11.1, we determined the DTFT representation for each of the following DT periodic sequences using the DTFS. Using Matlab, compute the DTFT representation based on the FFT algorithm. Plot the frequency characteristics and compare the computed results with the analytical results derived in Chapter 11. x[k]=k, for 0

Solution

clear all;

close all;

%x=[0 1 2 3 4 5]

x=input(\'enter the input sequence\');

n=input(\'enter the lenth of DFT\');

subplot(4,1,1);

stem(x);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'input signal\');

y=fft(x,n);

subplot(4,1,2);

stem(y);

xlabel(\'frequency\');

ylabel(\'amplitude\');

title(\'discrete fourier transform\');

z=abs(y);

subplot(4,1,3);

stem(z);

xlabel(\'frequency\');

ylabel(\'magnitude\');

u=angle(y);

subplot(4,1,4);

stem(u);

xlabel(\'frequency\');

ylabel(\'phase plot\');

gtext(\'kl university\')

output :

enter the input sequence[0 1 2 3 4 5]

enter the lenth of DFT16;

k=0:1:5;

x(k)=x(k+6);

plot(k,x(k))

 In Problem 11.1, we determined the DTFT representation for each of the following DT periodic sequences using the DTFS. Using Matlab, compute the DTFT represent
 In Problem 11.1, we determined the DTFT representation for each of the following DT periodic sequences using the DTFS. Using Matlab, compute the DTFT represent

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site