program_9_7.m
来自「数字信号处理matlab源程序」· M 代码 · 共 16 行
M
16 行
% Program 9_7
% Granular Limit Cycles in First-Order IIR Filter
%
clf;
alpha = input('Type in the filter coefficient = ');
yi = input('Type in the initial condition = ');
x = input('Type in the value of x[0] = ');
for n = 1:21
y(n) = a2dR(alpha*yi,5) + x;
yi = y(n); x = 0;
end
k = 0:20;
stem(k,y)
ylabel('Amplitude'); xlabel('Time index n');
title(['\alpha = ' num2str(alpha)]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?