Add Gaussian noise to the signal
7 views (last 30 days)
Show older comments
Adam Carroll
on 22 Jan 2020
Commented: Adam Carroll
on 23 Jan 2020
[y,Fs] = audioread('AC-1.wav');
n = (397321,1)
a = [x,t];
plot(a)
Hello,
I am struggling to understand exactly how to solve the problem listed below. I am not sure how to add Gaussian noise to my signal. I have tried to figure this out on my own but I just cannot seem to crack this code. All of the code so far is listed above as well.
0 Comments
Accepted Answer
Image Analyst
on 22 Jan 2020
Hint: use size(), the plus symbol, +, and the expression they gave you at the very end of the instructions.
y = y + std * randn(size(y));
3 Comments
Image Analyst
on 23 Jan 2020
Unfortunately you
- Forgot to give the complete error message (all the red text)
- Forgot to attach your code
- Forgot to attach 'AC-1.wav'
More Answers (0)
See Also
Categories
Find more on Get Started with Signal Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!