Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding white noise on a received signal

Status
Not open for further replies.

yannoush

Mechanical
Joined
May 2, 2003
Messages
2
Location
AU
hello

I have created a pulse signal (transmitted and received), and I want to add a white noise with a variance of 1 to the received signal, but I don't know how to do this. if someone can help me?

thanks
 
I'm too rusty on matlab to help directly, but here is how to generate good quality white noise, or indeed, any other shaped spectrum.

Create a 2^n long array for the modulus, and shape this to the desired profile against frequency

Create an array for phase, and fill it with random numbers between 0 and 2 pi

Do an IFFT of this data, to give a real time series. This is a time history of statistically valid Gaussian white noise.





Cheers

Greg Locock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top