In Simulink Library - RF Blockset 's Sources how to make the Continuous Wave's Carrier frequencies tunable?

조회 수: 2 (최근 30일)
Dear Sir,
I am a beginer user to Matlab and i have ran into some issue which i don't know how to resolve.
  1. 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.
  2. 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

답변 (1개)

Naren
Naren 2023년 10월 26일
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

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by