[Top][All Lists]

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

Re: [Discuss-gnuradio] gr-lte recorded files

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] gr-lte recorded files
Date: Wed, 30 Dec 2015 12:20:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Hello Kevin,

as explained, data isn't stored as "a + bi"; the fact that  the two numbers "a" and "b" are interpreted as "real" and "imaginary" of the same complex number shouldn't be stored -- that is implicit. Hence, yes, you just store abababababab..., because the "+" and the "i" is implicit. Also, otherwise you would have to come up with a special scheme of encoding "+" and "i"; those aren't numbers, so they naturally don't work out well for computers.

Best regards,

On 12/30/2015 12:04 PM, 13540652881 wrote:
thank you ,Marcus. you are very warm-hearted. another question is,what's the data type of the "gr_complex"? Is the data stored as "a+bi" or stored as a and b alternatively? what's more ,I am a newer to gnuradio,recently I am doing some research work on the gnuradio with a usrp N210. I try to write some C++ blocks, but I can't find the C++ APIs. so I come across of some difficulties with the coding.Do you have some ideas about how to write the blocks?
Best wishes!

发件人:Marcus Müller <address@hidden>
发送时间:2015-12-30 18:46
主题:Re: [Discuss-gnuradio] gr-lte recorded files
"a+bi" is only the interpretation of what is stored, namely a and b, alternating. If you did everything right, your MATLAB program would store the samples in exactly that format. We don't have the MATLAB program you use, so it's up to you to verify you're reading the data you think you are writing :)

Best regards,

Am 30. Dezember 2015 02:44:08 MEZ, schrieb kevin_L <address@hidden>:
Hi,johannes,thank you for your reply.Another question bothers me,that is : 
what's the type of your input of the "lte_top_block_siso? The recorded
samples  from the usrp N210 is the type of complex float 32 with the I/Q
signals placed alternative. But the recorded samples from the matlab tools
is complex with the type of
"a+bi",should I do some changes to the recorded samples from the usrp N210
to match the input of the flowgragh?

View this message in context: http://gnuradio.4.n7.nabble.com/gr-lte-recorded-files-tp57482p57557.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

reply via email to

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