Generate a white Gaussian noise vector

4 vues (au cours des 30 derniers jours)
Ali
Ali le 29 Mai 2012
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 ..

Réponses (1)

venkat vasu
venkat vasu le 30 Juil 2012
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');

Catégories

En savoir plus sur Measurements and Feature Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by