?? exp7_4_1.m
字號:
h=[-4 1 -1 -2 5 6 5 -2 -1 1 -4];
n=0:length(h)-1;
k=0:1:500;
w=pi*k/500;
hr=h*exp(-j*n'*w);
realh=real(hr);
imagh=imag(hr);
magh=abs(hr);
angh=angle(hr);
subplot(2,2,1),stem(n,h),title('impulse response');grid on;
subplot(2,2,2),stem(0:L,a),title('a(n) coefficients');grid on;
subplot(2,2,3),plot(w/pi,hr),title('frequncy in pi units');grid on;
subplot(2,2,4),zplane(h,1),title('Type 1 amplitude response');grid on;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -