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
Afficher commentaires plus anciens
mathlb use in digital filtering.
1 commentaire
John D'Errico
le 24 Oct 2014
Modifié(e) : John D'Errico
le 24 Oct 2014
It is MATLAB. And read the help for randn.
Réponses (1)
Rick Rosson
le 27 Oct 2014
n = randn(size(t));
Catégories
En savoir plus sur Signal Processing Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!