[time-nuts] PLL Math Question
Bob Stewart
bob at evoria.net
Wed Mar 12 22:16:41 UTC 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!
Bob
>________________________________
> 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
>
>
>Bob,
>
><snip>
>
>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.
>
>Cheers,
>Magnus
>
>
>
More information about the Time-nuts_lists.febo.com
mailing list