how can i add a gaussian noise with amp. 0.1 to a sin wav signal ??
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
amira ramadan
le 27 Avr 2014
Commenté : amira ramadan
le 28 Avr 2014
not with the fun. awgn because it's undefined function on the version of matlab i have .
2 commentaires
Réponse acceptée
Image Analyst
le 27 Avr 2014
t = 1 : 300;
y = sin(t) + 0.1 * randn(1, length(t))
Otherwise, if you have the Image Processing Toolbox, how about using imnoise()? That is, if you didn't want randn (the preferred method) for some reason.
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!