Borrar filtros
Borrar filtros

adding noise 15 db

4 visualizaciones (últimos 30 días)
Muhammad Faisol
Muhammad Faisol el 15 de En. de 2012
Comentada: anass naqqad el 5 de Nov. de 2019
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

Respuesta aceptada

Greg Heath
Greg Heath el 16 de En. de 2012
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 comentarios
Souarv De
Souarv De el 21 de Jul. de 2019
What is s0?
anass naqqad
anass naqqad el 5 de Nov. de 2019
It's just the noise free signal

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by