RF CW signal generator in MATLAB/Simulink

12 views (last 30 days)
Hello everyone,
I am trying to create the CW (Continuous Wave) at the specific frequency (What I want is varry around 900 MHz) like the RF signal generator to use it as an interferer of the primary signal from the transmitter
What I understand is we can just use the sinwave source at desire frequency. Then we will have a signal in frequency domain.
anyway, I tried to simulate using the DSP sinewave and Spectrum analyzer (as shown below) but seems not as I expected (I generated at 900 MHz, stop time = infinity. But center of signal is showing at 0 Hz)
I am not sure there is any misconfigure on my configuration?
So, this is still be possible to simulate the CW source at RF frequency?
Best Regards,
Fumihiko Sato

Accepted Answer

Abderrahim. B
Abderrahim. B on 18 Aug 2022
Hi!
Spectrum analyzer block inherits sample rate from the sineWave block, as it is shown on the sinewave wave block the sample rate was not set with respect to sampling theorem ( I assume you know this theorem).
Check the below picture.
f is equal to to 900e6.
Hope this helps.
  1 Comment
Fumihiko Sato
Fumihiko Sato on 18 Aug 2022
Dear Issa,
I completely forget about the sampling theorem while doing that.
Really appreciate your help. Thank you.
Fumihiko Sato

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!