how to change amplitude? phased.FMCWWaveform
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/392163/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/392163/image.jpeg)
0 commentaires
Réponses (1)
Pratyush Roy
le 29 Oct 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 commentaires
Voir également
Catégories
En savoir plus sur Automotive Radar dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!