MatLab上で,ホワイトノイズの条件 (1~1000Hz,ランダムな振幅(±14以下)のノイズを作りたい。)どうしたらよいですか?
Mostra commenti meno recenti
MatLab上で,ホワイトノイズの条件 (1~1000Hz,ランダムな振幅(±14以下)のノイズを作りたい。)どうしたらよいですか?
2 Commenti
Akira Agata
il 24 Gen 2019
想定されているのは「加法性白色ガウス雑音 (AWGN: Additive White Gaussian Noise)」 でしょうか?もしそうでしたら、Communication System Toolboxの awgn 関数 (+ BPFによる帯域制限) で可能です。ただ、AWGNであれば、その定義上、振幅は必ずしも ±14以下にはなりません (制限することは可能ですが、厳密なAWGNの定義からはずれます)。
Amit Kansal
circa 4 ore fa
Can you offer more details on how you want to model the spectral content? Is there a signal that you laready have to which you want to add white gaussian noise?
Risposte (1)
Shoumei
il 25 Gen 2019
rand関数で0~1の一様分布乱数を生成できるので、それを+-14に増幅してやれば良いと思います。
sig = (rand(1,10000)-0.5)*14*2; % 1万点の乱数を生成
figure, plot(sig)
figure, periodogram(sig, [], [], 1000) % Fs=1000で周波数特性表示
Categorie
Scopri di più su 伝播とチャネル モデル in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!