unknown4.m

来自「biomedical stuffs...」· M 代码 · 共 15 行

M
15
字号
function y=unknown4(x)
%	y=unknown4(x,tmax)
%	Implementation of the 2-point moving averager
%	of Example 4.6.  Output, y, for input, x, is
%	calculated from t=0 to t=length(x).
%
%	This program is distributed as a supplement to the book
%	"Biomedical Signal Processing and Signal Modeling" by E. N. Bruce,
%	published by Wiley, 2000.  It is provided for educational use only.
%  While every effort has been made to insure its suitability to illustrate
%  principles described in the above book, no specific feature or capability 
%  is implied or guaranteed.
hn=[0.5;0.5];
y=filter(hn,1,x);

⌨️ 快捷键说明

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