Mathematica How Do You Model Noise in Mathematica?

AI Thread Summary
To generate random noise in Mathematica based on a given power spectral density Sn(f) or an autocorrelation function, one approach involves creating white noise using Random[NormalDistribution[...]]. After generating the white noise, the next steps include applying a Fast Fourier Transform (FFT) to the noise, filtering it according to the specified spectral density, and then performing an inverse FFT to retrieve the noise that conforms to the desired spectral characteristics. The discussion emphasizes the importance of correctly implementing the filtering process to ensure the output noise matches the intended spectral properties.
madness
Messages
813
Reaction score
69
Given a power spectral density Sn(f) (or alternatively the autocorrelation function), is there a way to output random noise in Mathematica? Not sure if anyone here will know this but it's worth a try.
 
Last edited:
Physics news on Phys.org
Well, you could use Random[NormalDistribution[...]] to generate white noise and then apply an FFT, filter it with your spectral density, and then inverse FFT to get back the original noise. Would that work?
 
How do you ?

filter it with your spectral density
 

Similar threads

Replies
4
Views
1K
Replies
0
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
6
Views
5K
Back
Top