?? dir2.c
字號:
/* dir2.c - IIR filtering in direct form */double dot();void delay();double dir2(M, a, L, b, w, v, x) /* usage: y = dir2(M, a, L, b, w, v, x); */double *a, *b, *w, *v, x;int M, L;{ v[0] = x; /* current input sample */ w[0] = 0; /* needed for dot(M,a,w) */ w[0] = 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];}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -