In Simulink Library - RF Blockset 's Sources how to make the Continuous Wave's Carrier frequencies tunable?
2 views (last 30 days)
Show older comments
Dear Sir,
I am a beginer user to Matlab and i have ran into some issue which i don't know how to resolve.
- I am trying to use a Rotary Knob to vary the Carrier Frequencies of the Continuous Wave from the Simulink Library - RF Blockset 's Sources, but i can't and it show some error.
- The Rotary Knob can't seem to connect to the Continuous Wave, it will display the following error.
3. What i want to acheive is that, when the simulation is running, i want to change the Continuous Wave's Carrier Frequencies and let it display on the Spectrum Analyzer.
So please provide me with some feedbacks/suggestion on how to make this work.
kind regards
Kei Lam
0 Comments
Answers (1)
Naren
on 26 Oct 2023
Hello Kei,
I understand that you're working on a model that adjusts the signal frequency based on the value from a Rotary switch. However, you're encountering an error message stating that the rotary knob cannot connect to the continuous wave.
The problem arises from the 'Continuous Wave' block, which doesn't have any tuneable parameters. To solve this issue, you can replace the continuous wave block with a 'sine wave' block instead. The sine wave block generates a sine wave with a frequency that corresponds to the value from the rotary switch.
Regards, Naren
0 Comments
See Also
Categories
Find more on Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!