how to change amplitude? phased.FMCWWaveform
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposte (1)
Pratyush Roy
il 29 Ott 2020
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.
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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Continuous Waveforms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!