📄 program_4_3.m
字号:
% Program 4_3
% Determination of the input signal from
% given impulse response and output signal
% of same length N
h1 = input('Type in the impulse response samples = ');
y = input('Type in the output response samples = ');
N = length(y);
x = [y(1)/h1(1) zeros(1,N-1)];
for k = 2:N;
x(k) = (y(k) - fliplr(h1(2:k)*x(1:k-1)'))/h1(1);
end
disp('Input Samples');disp(x);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -