|
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?
Sent from my iPhonefor index = 1:PacketLengthPacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index);endSo 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-AdeelOn 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/20Mhzfor index = 1:PacketLengthPacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index);endSo is above implementation in matlab similar to that in Gnuradio?_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |