how can i add a gaussian noise with amp. 0.1 to a sin wav signal ??
2 views (last 30 days)
Show older comments
amira ramadan
on 27 Apr 2014
Commented: amira ramadan
on 28 Apr 2014
not with the fun. awgn because it's undefined function on the version of matlab i have .
2 Comments
Accepted Answer
Image Analyst
on 27 Apr 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.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!