Name:Chen yifan 20112121006Section:Laboratory Exercise 4LINEAR, TIME-INVARIANT DISCRETE-TIME SYSTEMS:FREQUENCY-DOMAIN TRANSFER FUNCTION AND FREQUENCY RESPONSEProject Transfer Function AnalysisAnswers: The modified Program P3_1 pute and plot the magnitude and phase spectra of a movingaverage filter of Eq. () for 0 £ w £ 2p is shown below:< Insert program code here. Copy from m-file(s) and paste. >w=0:pi/511:2*pi;M=input('M= ');num=ones(1,M)/M;h=freqz(num,1,w);subplot(2,1,1);plot(w/pi,abs(h));grid;title('H(e^{j\omega})幅度谱');xlabel('\omega/\pi');ylabel('振幅');subplot(2,1,2);plot(w/pi,angle(h));grid;title('相位谱 H(e^{j\omega})');xlabel('\omega/\pi');ylabel('以弧度为单位的相位');This program was run for the following three different values of M and the plots of thecorresponding frequency responses are shown below:< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >The types of symmetries exhibited by the magnitude and phase spectra are due to -The type of filter represented by the moving average filter isM=-2-4H(ejw)为 为 为0 1 2w/p为 为 为 H(ejw)0 1 2-M=10;w/pH(ejw)为 为 -2-40 1 2w/p为 为 为 H(ejw)0 1 2w/p为为为为为为为为为为为M=20;-2-4H(ejw)为 为 为0 1 2w/p为 为 为 H(ejw)0 1 2w/pThe results of Question can now be explained as follows - By the graph, you can seethat it represents a low-pass The plot of the frequency response of the causal LTI discrete-time system of Question using the modified program is given below:< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >w=0:pi/511:pi;num=[ 0 -];den=[1 -0
实验四线性时不变离散时间系统的频域分析 来自淘豆网www.taodocs.com转载请标明出处.