数字信号处理实验报告3
Name:CHEN YIFANV 20112121006Section:Laboratory Exercise 3DISCRETE-TIME SIGNALS: FREQUENCY-DOMAIN RE
Name :CHENYIFANV20112121006 Section : LaboratoryExercise3 DISCRETE-TIMESIGNALS:FREQUENCY-DOMAINREPRESENTATIONS 3.1DISCRETE-TIMEFOURIERTRANSFORM Project3.1DTFTComputation AcopyofProgramP3_1isgivenbelow : <Insertprogramcodehere.Copyfromm-file(s)andpaste.> %ProgramP3_1 %EvaluationoftheDTFT clf; %ComputethefrequencysamplesoftheDTFT w=-4*pi:8*pi/511:4*pi; num=[21];den=[1-0.6]; h=freqz(num,den,w); %PlottheDTFT subplot(2,1,1) plot(w/pi,real(h));grid title('RealpartofH(e^{j\omega})') xlabel('\omega/\pi'); ylabel('Amplitude'); subplot(2,1,2) plot(w/pi,imag(h));grid

