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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Statistics and Linear Algebra에 대해 자세히 알아보기

태그

질문:

2012년 1월 15일

댓글:

2019년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by