MATLAB Answers

how to add velocity to the generated modulated signal?

2 views (last 30 days)
Suhas Yadav Bengaluru Nagappa
Edited: Chaitanya Mallela on 23 Oct 2020
i have generated a modulated signal with noise at the user, and this user is moving with velocity (Initial Velocity = 0, constant velocity = 20 km\hr and maximum velocity = 50 km\hr), how can it be done? any suggestions appriciated, thanks in advance.
fs = 50;
t = (0:2*fs+1)'/fs;
%Create a sinusoidal input signal.
x = sin(2*pi*t) + sin(4*pi*t);
%Set the carrier frequency and phase deviation.
fc = 10;
phasedev = pi/2;
%Modulate the input signal.
tx = pmmod(x,fc,fs,phasedev);
%Apply white Gaussian noise and plot the results.
y = awgn(x,10,'measured');

  1 Comment

VBBV on 11 Oct 2020
Use gradient on input signal
%if true
% code
% end
fx = gradient(x)% input signal gives velocity
T = tx + fx;% adding velocity to modulated signal

Sign in to comment.

Answers (1)

Chaitanya Mallela
Chaitanya Mallela on 23 Oct 2020
Edited: Chaitanya Mallela on 23 Oct 2020
Velocity effect can be induced in the model when the input signal vary as function of both time and displacement. The function pmmod performs the phase modulation of the signal as a function of time by fixing the displacement. Translation of the source will not effect the momentum of the waves but results in Doppler effect at the receiver.


Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by