discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to specify a complex number in block: vector_


From: Activecat
Subject: Re: [Discuss-gnuradio] How to specify a complex number in block: vector_source ?
Date: Sat, 8 Feb 2014 15:33:25 +0800

Dear Marcus,

Thanks, it accepts ( complex(1,2), complex(3,4), complex(5,6) ).
The other two are not accepted, message: 
    name 'j' is not defined.

Nevertheless, that is good enough.
Thanks.

Regards,
activecat

On Sat, Feb 8, 2014 at 2:38 PM, Marcus Müller <address@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi activecat,

have you just tried the most intuitive options:

Vector = ( 1 + 2j, 2 + 4.0 * 1j, complex(3,-1) )

all three elements work, since this is just python :)

Greetings,
Marcus


On 08.02.2014 07:28, Activecat wrote:
> Dear Sir,
>
> I am using the built-in block of Vector Source, configured as
> below: Output Type = Complex. Vector = ( 1, 2, 3 )
>
> Then I run the flow graph. The block sends out  1 + 0i,  2 + 0i, 3
> + 0i.
>
> Question: How to make it sends 1 + 2i ? (How to configure this at
> the Vector field?)
>
> Regards, activecat
>
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEbBAEBAgAGBQJS9dDSAAoJEAFxB7BbsDrLQoAH90doTEEMHoLGH663dc4n+HbP
PauAKme2ZtLzFmmp4jd9cFSdu5KeEro+phwCucONizdl4s9KwrBQu1xDBbe2KDnm
Ms0BEI5UpEvsnC2azCrbm1a8/evceAYuAHN5+NiWF0HVM4vgnzLEb5EF7gFM1SP/
wFN92td9uXNrvcLT5vXe1xXfK0Sl5DmOnTUav5AzYKvscUz5GG5pqjLNeLM4Nf7C
IYlxWVvOl9deADDnrcjTQNGTkDgDGIs7c2frwRrJZOEeHg9h1w6G3kDp7+qiHhU0
/FRSW2+5/2os9GQiJEVawMe5ynWKhtxH5w3halQfn/1gMUvRzng7LzQxEnn9sA==
=fg4u
-----END PGP SIGNATURE-----

_______________________________________________
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]