discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] the block “complex to Arg” in gnuradio


From: Johannes Demel
Subject: Re: [Discuss-gnuradio] the block “complex to Arg” in gnuradio
Date: Tue, 10 Nov 2015 10:45:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Could you extend a test case for this block with Python? This might
reveal issues with the implementation more easily. Also, others might
benefit from it.
For your specific problem, I guess the GR block result is as close as
it gets for a LUT-based calculation. And it's not off by a lot but by
some 10^-x.

Cheers
Johannes

On 10.11.2015 10:29, w xd wrote:
> Hi all,
> 
> Thank you very much in advance.
> 
> I find the result of the block "complex to Arg" is same to the 
> result in matlab most of the time,while sometimes the results is
> different from the result in matlab.
> 
> For example, a=1.646236600879293e+03 + 8.043715071772031e+00i I use
> the command  atan2 or angle to calculate the result. It return
> 0.004886084452240.
> 
> While i calculate the result using the gnuradio. It return
> 0.002944485750049.
> 
> Can someone explain it?
> 
> The version of gnuradio:3.7.5. Best regards, xd
> 
> 
> 
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWQbzCAAoJEO7fmkDsqywMvCoP/R/uFAFcCZvrsF3Df2g9iSL8
xI41HkfbilNSe/16hf1cKiViLq6F4gYcffRfYMdn1W7B/x81NHQSZ0MfC6RM25vc
yHySPBxcKW8Wcmynoi2vUvKc8Pq5Kt1pTfDgsdrn2SJCutyYiRo/9dDpRbtWGMox
FwIdf1WZQhRoELC1Cm0PoxVxXWI4SdywcuQpfrajcqxWHBbmUQGj4w07KptW11c1
GLJG3ny/DpC+w+8TFUVbKWEJuWbpPYVbNRYb4hc0s6RwOA485p4BPIJU7a0K3wzK
JFFY2JGiM096Ij5mRNa+bxxTcaS3CQCL7a1bwxZBLuNXA0MjLt+zIKcup325cHd+
cUNDTeyeonuFNOwf0sgLjVjn/KUDkvWbz9Zxcc6tlBs+7vzvJb/GvpMAh81v+xpJ
UvV2YFXZ9YDxTRhf4CkJOFxK1RpZVGoan8OsZWt5TiXkREpUZ2A7arMXOENaZMv5
8AZ4MTSrbmlnlBAEH5aG5FLPlzTRpAV8Mi5fflrFXc+pTQzvjWUlmqQOvw3m2jAu
lvOSMJMp5hi0X9e0kAlC1zATuIS0svff+E3miDTwnx5bV69fNdawoNmO4hmNaTwk
Pgl/7NiE0RbrHji9SJk8QIsyT9z7tf9j9akcpGRFB6m6yRi7LzqNI5O3XOrDovdM
vNJc4teI1vDyc3CdJ49R
=N/wX
-----END PGP SIGNATURE-----



reply via email to

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