Professional Documents
Culture Documents
Matlab Experiment
Matlab Experiment
Matlab Experiment
transform
1. Convolution Property
2. Time Shifting Property
3. Frequency Shifting Property
OUTPUT-:
2.
Code-:
OUTPUT-:
Q3.
Code-:
set(gca,'XTickLabel',{'0','0.5*pi','pi','1.5*pi','2*pi'});
xlabel('samples');ylabel('DFT of X1[n]');
title('Fourier transform of original pulse X1[n]');
subplot(3,1,3);stem(m,abs(dftx3));
set(gca,'XTick',0:pi/2:2*pi);
set(gca,'XTickLabel',{'0','0.5*pi','pi','1.5*pi','2*pi'});
xlabel('samples');ylabel('dft of X3[n]');
title('The DFT (of x3[n])is shifted spectrum of X1[n] by 2*pi*H/P=1.46=0.46*pi,
P=N=30, H=7');
OUTPUT-: