Generate a white Gaussian noise vector

2 ビュー (過去 30 日間)
Ali
Ali 2012 年 5 月 29 日
hi
i wish anyone can help me .. i have this quastion to solve:
Generate a white Gaussian noise vector ,,
Note that the Signal-to-Noise Ratio in dB is SNR = 10*log10(Ps/Pn)), with Ps the power of the signal and Pn the power of the noise.
any help is appreciated ..

回答 (1 件)

venkat vasu
venkat vasu 2012 年 7 月 30 日
y = wgn(m,n,p); generates an m-by-n matrix of white Gaussian noise. p specifies the power of y in decibels relative to a watt. The default load impedance is 1 ohm. Example:
y2 = wgn(100,1,0,'complex');

カテゴリ

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