program_02_6.m
来自「自编的一些小波源程序,用MATLAB编的.希望对那些喜欢小波的人有所帮助.去解压」· M 代码 · 共 13 行
M
13 行
% 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 + =
减小字号Ctrl + -
显示快捷键?