discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Fwd: How can I add freq. offset(related to time i


From: Adeel Anwar
Subject: Re: [Discuss-gnuradio] Fwd: How can I add freq. offset(related to time index) after IFFT in data symbol in ofdm example?
Date: Fri, 26 Jul 2013 04:59:19 +0500

>>Thanks again. I am not familiar with simulink. U mean we can visually program in GR using signal Block or widget instead of writing all code directly?
Yes


On Thu, Jul 25, 2013 at 9:04 PM, Yingjie Chen <address@hidden> wrote:
Thanks again. I am not familiar with simulink. U mean we can visually program in GR using signal Block or widget instead of writing all code directly?

Sent from my iPhone

On 25 Jul, 2013, at 23:47, Adeel Anwar <address@hidden> wrote:




for index = 1:PacketLength
    PacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index);
end

So is above  implementation in matlab similar to that in Gnuradio?

No. GNURadio implementation resembles Simulink instead of Matlab. Just think how can u add freq-offset in Simulink and replicate that in GNURadio

-Adeel


On Thu, Jul 25, 2013 at 8:41 PM, Yingjie Chen <address@hidden> wrote:
Thanks for you reply, Adeel. I am still confused in implementation.
I have done simulation before in matlab. In matlab, timebase index can refer to each element in signal vector.
Please refer to following code for illustration, fΔ refers to freq. offset, index refers to time index,  Packet is signal vector, SampleRate = 1/20Mhz

for index = 1:PacketLength
    PacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index);
end

So is above  implementation in matlab similar to that in Gnuradio? 


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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