discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Single pole filter, difference equation and docum


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Single pole filter, difference equation and documentation.
Date: Fri, 11 May 2007 09:18:56 -0700
User-agent: Thunderbird 1.5.0.10 (X11/20070403)

gr_single_pole_avg filter kernel:

  output = d_alpha * input - d_one_minus_alpha * d_prev_input;
  d_prev_input = input;


gr_single_zero_avg filter kernel:

 output = d_alpha * input + d_one_minus_alpha * d_prev_input;
  d_prev_input = input;


gr_single_pole_iir filter kernel:

  output = d_alpha * input + d_one_minus_alpha * d_prev_output;
  d_prev_output = output;


gr_single_pol_rec filter kernel:

  output = d_alpha * input + d_one_minus_alpha * d_prev_output;
  d_prev_output = output;


So it looks like the first three blocks compute different things but the
fourth is a duplicate of the third.  The difference equation in the
header files is the same for all four, but is only correct for the last two.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]