MATLAB Answers

0

Adding white gaussian Noise to 1D signals

How can I add the same white guassian noise to different signals using awgn ? in fact I need to variate the SNR and compare the results

  댓글 수: 0

로그인 to comment.

답변 수: 1

Youssef Khmou 님의 답변 14 Feb 2015
Youssef Khmou 님이 편집함. 14 Feb 2015
 채택된 답변

To produce a unique sequence of white Gaussian noise, you need to reset the sate as follows :
x=sin(2*pi*0.2*(0:0.1:10));
y=awgn(x,10,'measured',10);
y2=awgn(x,10,'measured',10);
the state is set to 10, therefore the signals y and y2 are identical.
Note : the option 'measured' in function's argument means that the function measures the power of input signal before adding the perturbation.

  댓글 수: 2

Thank You
You are welcome.

로그인 to comment.



Translated by