?? program_02_6.m
字號:
% Program 2_6
% Illustration of Impulse Response Computation
%
colordef black;
N = input('Desired impulse response length = ');
p = input('Type in the vector p =');
d = input('Type in the vector d =');
x = [1 zeros(1,N-1)];
y = filter(p,d,x);
k = 0:1:N-1;
stem(k,y,'g')
xlabel('Time index n'); ylabel('Amplitude')
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -