From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-01-2019 02:22 AM
Hello guys,
I want to multiply a signal by a complex exponential just as in the second picture. Is it correct the way I did it ? See the first picture below
The idea is to multiply a signal by a two ray channel (second pic). Is it correct to multiply a complex signal with the Doppler shift this way ?
Best regards,
Ali Sabra
Solved! Go to Solution.
07-01-2019 03:21 AM
@AliSabra wrote:
Hello guys,
I want to multiply a signal by a complex exponential just as in the second picture. Is it correct the way I did it ? See the first picture below
The idea is to multiply a signal by a two ray channel (second pic). Is it correct to multiply a complex signal with the Doppler shift this way ?
Best regards,
Ali Sabra
It seems OK to me.
You can test by putting it in a for loop, or applying the formula to a ramp. That should give an output of a sin in Im and a cos in Re (or vice versa).
07-01-2019 04:57 AM
Thanks for your help.
Am I testing it correctly ?
Because there is no difference between the original signal and the Doppler shifted one.
Maybe because I am using a waveform generator instead of a simulated signal ? I dont see the I and Q
07-01-2019 05:08 AM
You're multiplying a single value (scalar) with a signal.
You should be multiplying a signal (the original) with the generated signal (a ramp put through the formula).
Both are functions or time, you now only have one function as time.
07-01-2019 05:10 AM
@AliSabra wrote:
I dont see the I and Q
To see the I and Q, you'd need to split the signal up into the Im and Re of the result...
07-01-2019 05:11 AM
Can you send me a screenshot plz ?
07-01-2019 06:08 AM
Sure, but it's LV CG:
It's clear that multiplying the signals, adds the frequencies.
07-01-2019 09:13 AM
Look what is happening :S
07-01-2019 09:24 AM
Maybe the configuration isn't correct ?
07-01-2019 09:38 AM
@AliSabra wrote:
Maybe the configuration isn't correct ?
I'm not into NXG enough to adive on that...
Apparently, those signals do work with complex numbers, but the ramp signal seems to be different than the sine?