|
From: | fangming he |
Subject: | [Discuss-gnuradio] phase accumulator in gr_frequency_modulator_fc |
Date: | Tue, 10 Nov 2009 04:34:08 +0800 |
Hi, All, I cannot understand why the phase accumulator should be limited to [-16*pi,16*pi]. Please clarify it for me if you have some ideas on it. The following is the code in this class: if (fabs (d_phase) > 16 * M_PI){ double ii = trunc (d_phase / (2 * M_PI)); d_phase = d_phase - (ii * 2 * M_PI); } Fangming Windows Live: Make it easier for your friends to see what you’re up to on Facebook. |
[Prev in Thread] | Current Thread | [Next in Thread] |