Adding white gaussian Noise to 1D signals

8 ビュー (過去 30 日間)
Jessica
Jessica 2015 年 2 月 14 日
コメント済み: Youssef Khmou 2015 年 2 月 14 日
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

採用された回答

Youssef  Khmou
Youssef Khmou 2015 年 2 月 14 日
編集済み: Youssef Khmou 2015 年 2 月 14 日
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 件のコメント
Jessica
Jessica 2015 年 2 月 14 日
Thank You
Youssef  Khmou
Youssef Khmou 2015 年 2 月 14 日
You are welcome.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMeasurements and Feature Extraction についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by