📄 dir2_c.mht
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject:
Date: Wed, 27 Sep 2006 22:40:32 +0800
MIME-Version: 1.0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.oxbad.com/DSP/maindoc/arithmetic_source/c/DIR2.C
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY><PRE>/* dir2.c - IIR filtering in direct form */
double dot();
void delay();
double dir2(M, a, L, b, w, v, x) /* usage: y =3D dir2(M, a, L, =
b, w, v, x); */
double *a, *b, *w, *v, x;
int M, L;
{
v[0] =3D x; /* current input =
sample */
w[0] =3D 0; /* needed for =
dot(M,a,w) */
w[0] =3D dot(L, b, v) - dot(M, a, w); /* current output */
delay(L, v); /* update input delay =
line */
delay(M, w); /* update output delay =
line */
return w[0];
}
</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -