フィルターのクリア

how can i add a gaussian noise with amp. 0.1 to a sin wav signal ??

3 ビュー (過去 30 日間)
amira ramadan
amira ramadan 2014 年 4 月 27 日
コメント済み: amira ramadan 2014 年 4 月 28 日
not with the fun. awgn because it's undefined function on the version of matlab i have .
  2 件のコメント
dpb
dpb 2014 年 4 月 27 日
What does the amplitude 0.1 refer to?
doc randn
amira ramadan
amira ramadan 2014 年 4 月 27 日
In this problem, we want to study the effect of an averaging filter (averaging window) on eliminating the noise on a signal. Use MATLAB to generate a 10 periods of a discrete sin wave signal with amplitude=1 and period = 50 samples. Then add Gaussian noise to it with amplitude 0.1. Pass the noisy signal on an averaging filter of variable length. PLOT the original signal, the noisy signal, and the filtered one. What is the effect of the filter’s length? What happens if the filter’s length becomes too small or too large?
that,s the problem required !?

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

採用された回答

Image Analyst
Image Analyst 2014 年 4 月 27 日
t = 1 : 300;
y = sin(t) + 0.1 * randn(1, length(t))
Otherwise, if you have the Image Processing Toolbox, how about using imnoise()? That is, if you didn't want randn (the preferred method) for some reason.

その他の回答 (1 件)

Roberto
Roberto 2014 年 4 月 27 日
READ HERE before posting new questions

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by