discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] multiply const block


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] multiply const block
Date: Sun, 05 Aug 2018 22:32:42 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 08/05/2018 04:21 PM, Paul Boven wrote:
Hi Linda,

On 08/04/2018 10:42 PM, Linda20071 wrote:
Can the constant be a complex number? For example, Can I set the constant to be 1.0*j, which should rotate the constellation graph by 90 degrees?

Yes, it can be a complex number. If you hover with the mouse over the field, it even says it expects a complex vector.

The notation would be: a+bj, so in your case, simply 1j will suffice. So without the '*'.

Regards, Paul Boven.


If you tend to think in degrees, I often form complex rotation constants thusly:

(after importing math)

complex( math.cos(math.radians(d)), math.sin(math.radians(d)) )

With 'd' in degrees






reply via email to

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