ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex exponential

Solved!
Go to solution

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

 

Download All
0 Kudos
Message 1 of 15
(4,766 Views)

@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).

0 Kudos
Message 2 of 15
(4,751 Views)

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 

 

Download All
0 Kudos
Message 3 of 15
(4,737 Views)

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.

0 Kudos
Message 4 of 15
(4,731 Views)

@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...

0 Kudos
Message 5 of 15
(4,729 Views)

Can you send me a screenshot plz ? 

0 Kudos
Message 6 of 15
(4,727 Views)
Solution
Accepted by topic author AliSabra

Sure, but it's LV CG:

Doppler.PNG

 

It's clear that multiplying the signals, adds the frequencies.

0 Kudos
Message 7 of 15
(4,703 Views)

Look what is happening :S

0 Kudos
Message 8 of 15
(4,678 Views)

Maybe the configuration isn't correct ?

0 Kudos
Message 9 of 15
(4,672 Views)

@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?

0 Kudos
Message 10 of 15
(4,662 Views)