given a time axis:t=linspace(0,10,512); and a signal x=3sin(5t)-6cos(9t). how do i add random noise n to obtain a noisy signal y=x+n. help me write a mathlab expression for random noise that will match my time axis. thanks
Mostrar comentarios más antiguos
mathlb use in digital filtering.
1 comentario
John D'Errico
el 24 de Oct. de 2014
Editada: John D'Errico
el 24 de Oct. de 2014
It is MATLAB. And read the help for randn.
Respuestas (1)
Rick Rosson
el 27 de Oct. de 2014
n = randn(size(t));
Categorías
Más información sobre Signal Processing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!