[time-nuts] PLL Math Question
bob at evoria.net
Wed Mar 12 18:16:41 EDT 2014
"x_avg = x_avg + (x - x_avg) * a_avg;"
Hi again Magnus,
In fact, I just post-processed some data using that formula in perl. It looks great, and will indeed save me code and memory space. And, it can be a user variable, rather than hard-coded. Thanks for the heads up!
> From: Magnus Danielson <magnus at rubidium.dyndns.org>
>To: time-nuts at febo.com
>Sent: Wednesday, March 12, 2014 12:51 PM
>Subject: Re: [time-nuts] PLL Math Question
>Exponential averger takes much less memory. Consider this code:
>x_avg = x_avg + (x - x_avg) * a_avg;
>Where a_avg is the time-constant control parameter.
More information about the time-nuts