MatLab上で,ホワイトノイズの条件 (1~1000Hz,​ランダムな振幅(±1​4以下)のノイズを作​りたい。)どうしたら​よいですか?

146 visualizaciones (últimos 30 días)
Ohmi Fuchiwaki
Ohmi Fuchiwaki el 24 de En. de 2019
Respondida: Shoumei el 25 de En. de 2019
MatLab上で,ホワイトノイズの条件 (1~1000Hz,ランダムな振幅(±14以下)のノイズを作りたい。)どうしたらよいですか?
  1 comentario
Akira Agata
Akira Agata el 24 de En. de 2019
想定されているのは「加法性白色ガウス雑音 (AWGN: Additive White Gaussian Noise)」 でしょうか?もしそうでしたら、Communication System Toolboxの awgn 関数 (+ BPFによる帯域制限) で可能です。ただ、AWGNであれば、その定義上、振幅は必ずしも ±14以下にはなりません (制限することは可能ですが、厳密なAWGNの定義からはずれます)。

Iniciar sesión para comentar.

Respuestas (1)

Shoumei
Shoumei el 25 de En. de 2019
rand関数で0~1の一様分布乱数を生成できるので、それを+-14に増幅してやれば良いと思います。
sig = (rand(1,10000)-0.5)*14*2; % 1万点の乱数を生成
figure, plot(sig)
figure, periodogram(sig, [], [], 1000) % Fs=1000で周波数特性表示

Categorías

Más información sobre リンクレベルのシミュレーション en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!