fir.m.txt

来自「常用的编码程序 数模转换代吗 电路应用设计 C SourceCode」· 文本 代码 · 共 16 行

TXT
16
字号
% fir.m - sample processing algorithm for FIR filter.%% [y, w] = fir(M, h, w, x)%% h = order-M filter (row vector)% w = filter state (row vector)% x = scalar input% y = scalar output% based on fir2.cfunction [y, w] = fir(M, h, w, x)w(1) = x;                          % read inputy = h * w';                        % compute outputw = delay(M, w);                   % update delay

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?