[an error occurred while processing this directive]
|
|
The Run Time Library for the C Language.
Referring Direct Form II for algorithm for this function.
There two steps from an input x[n] to the corresponding
output y[n]:
w[n]=x[n]+a[0]*w[0]+...+a[n-1]*w[n-1]
and
y[n]=b[0]*w[0]+...+b[n]*w[n]
where w[] is the intermediate matrix.
Note: The notation used here for coding might be different
from that used in other books.
Algorithm:
w[n]=x[n]; {Update w[n] for each x[n]} y[n]=0; {Compute y[n] and update w[i]} F0=y[n]; {return value}
E-mail:
info@telesys.ru
for(i=0; i
for(i=0; i<=n; i++) {
y[n]=y[n]+b[i]*w[i];
w[i]=w[i+1]; {Update w[i]}
}
Ответы