フィルターのクリア

How can I generate band-limited Gaussian white noise??

24 ビュー (過去 30 日間)
Kim Dogyun
Kim Dogyun 2013 年 7 月 19 日
Hi~ I want to generate band-limited Gaussian white noise that signal ranging from 0 to 3 with a frequency of 0-6Hz. Please help me...

採用された回答

Wayne King
Wayne King 2013 年 7 月 19 日
編集済み: Wayne King 2013 年 7 月 19 日
You cannot generate band-limited "white" Gaussian noise. "White" noise means that the power spectral density is flat, which contradicts the notion of a passband.
You can generate band-limited Gaussian noise. I'm not sure what you mean by "...signal ranging from 0 to 3 with a frequency of 0-6Hz", so I'll assume that you want a passband of 0 to 6 Hz. You did not tell us your sampling frequency, I'll assume 100 Hz.
Fs = 100;
d = fdesign.lowpass('Fp,Fst,Ap,Ast',6,10,0.5,40,Fs);
B = design(d);
% create white Gaussian noise the length of your signal
x = randn(1000,1);
% create the band-limited Gaussian noise
y = filter(B,x);
The output, y, is a band-limited Gaussian noise with a passband of 0 to 6 Hz.
  1 件のコメント
Kim Dogyun
Kim Dogyun 2013 年 7 月 21 日
編集済み: Kim Dogyun 2013 年 7 月 21 日
thanks for your comment~

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by