add white gaussian noise

6 次查看(过去 30 天)
Jessie Bessel
Jessie Bessel 2018-6-19
评论: OCDER 2018-6-19
I tried to add noise to a signal. The signal noise ratio must be 0 dB. I tried with
signal_noise=awgn(signal,0,'measured')
Is there any method?

回答(1 个)

OCDER
OCDER 2018-6-19
signal_noise=awgn(signal,1,'measured')
SNR = 1 means 0 dB.
  2 个评论
Jessie Bessel
Jessie Bessel 2018-6-19
Ok.Any method, without awgn?
OCDER
OCDER 2018-6-19
noise = sig * randn(size(signal)); %sig is your standard dev.
signa_noise = signal + noise %you have to determine value of "sig".
%sig = std(signal) ?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Propagation and Channel Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by