how can i add noise in particular place of the sine wave?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
suganya saravanan
el 6 de Mzo. de 2015
Editada: Zikobrelli
el 6 de Mzo. de 2015
i want to add noise in the middle of the sine wave. but if i use the rand() function it adds noise to the total signal.how to add noise in some parts of the signal only.kindly help me.......
0 comentarios
Respuesta aceptada
Rick Rosson
el 6 de Mzo. de 2015
Editada: Rick Rosson
el 6 de Mzo. de 2015
noise = [ zeros(N,1) ; rand(M,1) ];
distorted = source + noise;
2 comentarios
Zikobrelli
el 6 de Mzo. de 2015
Editada: Zikobrelli
el 6 de Mzo. de 2015
you need to specify the values of M and N. For example, if you want to add noise to the first 10 points of your signal you can use,
N=10
M=numel(t)
changing the values of M and N will enable you to choose the signal indexes where the noise is applied
Más respuestas (0)
Ver también
Categorías
Más información sobre Measurements and Feature Extraction en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!