필터 지우기
필터 지우기

adding noise 15 db

조회 수: 4 (최근 30일)
Muhammad Faisol
Muhammad Faisol 2012년 1월 15일
댓글: anass naqqad 2019년 11월 5일
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