Saturday, February 8, 2014

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



On Saturday, February 8, 2014, Activecat <activecat@gmail.com> 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. 

No comments:

Post a Comment