discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: channel model question


From: John Andrews
Subject: [Discuss-gnuradio] Re: channel model question
Date: Mon, 28 Jun 2010 14:19:53 -0700

sorry guys my bad. The frequency_offset here is a ratio of the input sampling frequency. I should be RTFMing more carefully. :)

Thanks
John

On Mon, Jun 28, 2010 at 2:12 PM, John Andrews <address@hidden> wrote:
Hi,
I have a nagging doubt about how the channel model is implemented in gnuradio. Suppose I have an input signal entering the channel model at 100,000 samples/sec. Let's say the channel model has to add an offset of 1000Hz to the input signal. Then I must have 100,000 samples of a 1000Hz SINE_WAVE signal and multiply each input sample with a corresponding input sample. Am I right? If I am right then i don't see this happening here with the sampling rate given as 1 in the line below

d_freq_offset = gr_make_sig_source_c(1, GR_SIN_WAVE, frequency_offset, 1.0, 0.0);

If I am wrong then will someone please correct me here.

thank you very much
John


reply via email to

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