discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] phase accumulator in gr_frequency_modulator_fc


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.

reply via email to

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