⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 program_4_3.m

📁 这是国外一本经典教材附带的程序
💻 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 + -