Digital Signal Processing Reference
In-Depth Information
return;
//return to main
}
void main()
{
int i=0;
for (i = 0; i < WLENGTH; i++)
{
w[i] = 0.0; //init coeff of adaptive FIR
dly_adapt[i] = 0.0; //init samples of adaptive FIR
}
sreg.regval=0xFFFF; //initial seed value
fb = 1; //initial feedback value
comm_intr(); //init DSK, codec, McBSP
while (1); //infinite loop
}
FIGURE 7.22. ( Continued )
FIGURE 7.23. Adaptive FIR filter converged to a 2-kHz IIR bandpass filter obtained with
an HP signal analyzer.
(the wideband signal desired). As a result, the samples of the interference are highly
correlated. On the other hand, the samples of the wideband signal are relatively
uncorrelated.
The characteristics of the narrowband interference permit the estimation of the
narrowband interference from past samples of splusn in the program. The signal
splusn , which represents the desired wideband signal with an additive narrowband
interference, is delayed before becoming the input to the adaptive FIR filter. The
delay is sufficiently long so that the delayed wideband signal is uncorrelated with
the undelayed sample.
Search WWH ::




Custom Search