Add Gaussian noise to the signal

조회 수: 7 (최근 30일)
Adam Carroll
Adam Carroll 2020년 1월 22일
댓글: Adam Carroll 2020년 1월 23일
[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.
Screen Shot 2020-01-22 at 4.56.21 PM.png

채택된 답변

Image Analyst
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
Image Analyst 2020년 1월 23일
Unfortunately you
  1. Forgot to give the complete error message (all the red text)
  2. Forgot to attach your code
  3. Forgot to attach 'AC-1.wav'
thus causing a delay. Please read this link and let me help you.
Adam Carroll
Adam Carroll 2020년 1월 23일
Hey!
Sorry about that, your information actually did help me to solve the problem. Thank you for your help and I will try and make sure my question helps out the whole communities understanding next time!
Thanks again,
Adam

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by