Add Gaussian noise to the signal
조회 수: 7 (최근 30일)
이전 댓글 표시
[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
채택된 답변
Image Analyst
2020년 1월 22일
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
Image Analyst
2020년 1월 23일
Unfortunately you
- Forgot to give the complete error message (all the red text)
- Forgot to attach your code
- Forgot to attach 'AC-1.wav'
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!