Hi Paul! Just like in the analog world, frequency dividers are harder to implement, since you can't simply use trigonometric formulas as you can to double frequencies.
In hardware, you'd, typically, you'd do something like a PLL to discipline your own oscillator to run at a fraction of the rate that your input does. You could, hypothetically, do something similar in GNU Radio. But: This is digital signal processing. You could just as well measure/estimate the frequency of your input, and then just run a sine signal source at half of that rate. What is the use case you're doing this for? I'd recommend painting "the bigger picture", because there's a lot of enthusiastic experts on here that just wait to comment on cool problems :) Best regards, Marcus On Thu, 2018-04-12 at 20:04 -0400, paGNU iea wrote: > Hi, my name is paul. > > I have a little issue, I need to do a frequency divider by 2, I did a > frequency multiplier by 2 and it is simple, because it is a multiply block > that have the same signal source at the inputs, and it produces at the output > the frequency adition, but the case of divider is complicated. > > At the first I've tried multiplying by a cosine wave at half the frequency . > However there is a problem with the synchronization > > Also I know I can resample up and then treat it as if I'm at the same > frequency, however I want to divide the frequency of my signal by 2 and keep > the same number of samples. > > Also I was trying to do a python embeded block in GNU Radio, but I found it a > little complicated > How would one implement a frequency divider? > > Thank you all for your time . > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio