01-04-2014 05:00 PM
Hello,
can someone explain(clarify) of how or what input will be feeded as the input d(n) of the adaptive filtering block for the first,second and rest iterations of the while loop as shown in the attached image..
As I need to feed the e(n) coming out of the while loop as input d(n)to the adaptive block for the first iteration and for the next iteration the previous output e(n) of adaptive block has to be feeded back as input d(n) and other input x(n) form the DAQmx.
Thanks.
Solved! Go to Solution.
01-04-2014 06:39 PM
You have a shift register on the loop boundary, so for the first iteration the d(n) input will get whatever is fed to the shift register on the left from the outside. After the adaptive filtering has executed, e(n) is fed into the shift register on the right, to be read from the shift register on the left at the next iteration. And so on. This seems pretty much what you want.
PatanGova wrote:As I need to feed the e(n) coming out of the while loop as input d(n)to the adaptive block for the first iteration and for the next iteration the previous output e(n) of adaptive block has to be feeded back as input d(n) and other input x(n) form the DAQmx.
If you need to retain the value across calls, use a globally initialized feedback node to feed the output of the while loop to the input.