adding noise 15 db

4 次查看(过去 30 天)
Muhammad Faisol
Muhammad Faisol 2012-1-15
hi everyone.. i want to ask something..
this is my source code..
t=0:0.01:5;
num= [0 0 0.31185 8.28 55.2];
denum=[0.001088 0.044 0.69185 9.28 55.2];
sys=tf(num,denum);
step(sys,t)
grid
title ('Unit-Step Response')
xlabel('t')
ylabel('Amplitudo')
how to adding noise 15 dB to this coding? thanks for your help

采纳的回答

Greg Heath
Greg Heath 2012-1-16
I don't know about your coding. However, I add Gaussian noise to a noise free signal, s0, as follows
P0 = mean(s0.^2)
SNR = 10^(SNRdb/10)
s = s0 + sqrt(P0/SNR)*randn(size(s0));
Hope this helps.
Greg
  2 个评论
Souarv De
Souarv De 2019-7-21
What is s0?
anass naqqad
anass naqqad 2019-11-5
It's just the noise free signal

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matched Filter and Ambiguity Function 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by