how to generate white noise of particular frequency in matlab ?
Ältere Kommentare anzeigen
Hello,
I want to generate white noise of particular frequency say 4hz . the covariance is 0.01.
how should i do this in matlab ?
Akzeptierte Antwort
Weitere Antworten (1)
Wayne King
am 14 Apr. 2013
Bearbeitet: Wayne King
am 14 Apr. 2013
White noise cannot be of a particular frequency. White noise by definition is a sequence of uncorrelated random variables. The autocorrelation sequence of a white noise process is the Kronecker delta sequence.
Equivalently, the power spectral density of white noise is constant.
You can easily generate a white noise sequence in MATLAB with a variance of 0.01. You have not specified what distribution the random variables in the white noise sequence should follow (it is not always Gaussian). In this case I'll assume Gaussian. Let N be the length of your sequence.
N = 1000;
noise = sqrt(0.01)*randn(N,1);
Kategorien
Mehr zu Spectral Measurements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!