How to Set Sine Wave Frequency
조회 수: 1 (최근 30일)
이전 댓글 표시
This question relates to a DSP Sine Wave item in Simulink (please refer to image below)...
I would like to change the waveform frequencies to (for example) 10 GHz & 10.5 GHz.
I enter the frequency into the text boxes indicated below, specifying the frequency as: 10e9 & 10.5e9
The subsequent spectrum analyzer output does not appear to reflect this...
How can this be resolved so that the spectrum analyzer displays fundamental tones F1 = 10e9 Hz & F2 = 10.5e9 Hz ?
Thank you very much in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/248569/image.png)
댓글 수: 0
채택된 답변
Thomas Satterly
2019년 11월 15일
Make sure your time step is small enough to capture oscillations on the order of GHz. You might be generating the "correct" signal, but the sampling rate is low enough to where you're aliasing the signal
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!