# how to add velocity to the generated modulated signal?

2 ビュー (過去 30 日間)
Suhas Yadav Bengaluru Nagappa 2020 年 10 月 11 日

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 件のコメント

VBBV 2020 年 10 月 11 日
%if true
% code
% end
fx = gradient(x)% input signal gives velocity
T = tx + fx;% adding velocity to modulated signal

サインインしてコメントする。

### 回答 (1 件)

Chaitanya Mallela 2020 年 10 月 23 日

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.

サインインしてコメントする。

### Community Treasure Hunt

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

Start Hunting!