Forum Discussion
Altera_Forum
Honored Contributor
13 years agoGenerating a signal with noise
What i am doing is i am trying to do is add random numbers to a signal to find PSD later. I wrote a code for random numbers generator which is working fine shown below: LIBRARY ieee; USE ie...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- the random function i generated is w(n) right with so the mean is 1/n(summation of w(n) from 0 to n) and variance is 1/n-1(summation of w(n) square from 0 to n). So how can i implement the averaging in software or in digital filter?? can you please elaborate?? --- Quote End --- Look at the moving average filter figure on slide 115. http://www.ovro.caltech.edu/~dwh/correlator/pdf/esc-100slides_hawkins.pdf Cheers, Dave