フィルターのクリア

how to change amplitude? phased.FMCWWaveform

1 回表示 (過去 30 日間)
Khuram Shehzad
Khuram Shehzad 2020 年 10 月 26 日
回答済み: Pratyush Roy 2020 年 10 月 29 日
How can I change the amplitude of in "phased.FMCWWaveform" ? Its default value is 1 but i want to change it and i don't know how?
please someone help ne in this issue, thanks

回答 (1 件)

Pratyush Roy
Pratyush Roy 2020 年 10 月 29 日
Hi Khurram,
One cannot directly set the amplitude value using the phased.FMCWWaveform.
As a workaround the step function on the FMCW Waveform object can be used to get the values of the signal in time-domain and scale that with an amplitude value.
The following code snippet illustrates the use of the step function:
waveform = phased.FMCWWaveform('SweepBandwidth',100.0e3,...
'OutputFormat','Sweeps','NumSweeps',2); % Get the FMCW waveform object with particular specifications
wv1 = step(waveform); %Generates the complex values obtained from the FMCW signal in time domain
wv_real = amp*real(wv1); %amplitude of the signal is scaled to the value amp
plot(wv_real)
In case of an amplitude which is time varying one can multiply the amplitude vector with the "wv1" vector element-wise:
wv_real = amp.*real(wv1);
You can go through the following links for further help
Regards,
Pratyush.

カテゴリ

Help Center および File ExchangeContinuous Waveforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by