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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
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