How do you model noise with a given power spectral density in Mathematica?

2 replies · 5K views · last reply
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:
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?