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: West, Nathan
Subject: Re: [Discuss-gnuradio] How to specify a complex number in block: vector_source ?
Date: Sat, 8 Feb 2014 03:43:22 -0600



On Saturday, February 8, 2014, Activecat <address@hidden> wrote:
Dear Marcus,

Now I know the reason:

Vector:  ( 1 + 4j )       ==> this doesn't work
Vector:  ( 1 + 4j, )      ==> this work!

So there must have a comma if it is one element.
Thanks.


Yes, the comma will result in a tuple with a single complex number. No comma just returns a complex number. 

reply via email to

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