To generate a random signal with the given PSD

51 views (last 30 days)
How to generate a random signal with the given PSD and upper and lower cut-off frequencies in MATLAB or SIMULINK? Whether possible or not?

Accepted Answer

Honglei Chen
Honglei Chen on 7 Sep 2012
Normally this is done by generating a filter according to the given PSD and then pass a white noise through the filter.
  2 Comments
Chandrashekhar Dharankar
Chandrashekhar Dharankar on 9 Sep 2012
Yes, what you are saying has been practiced by me. I have used a band limited white noise block (BLWN) in SIMULINK as an input to the first order filter. But the PSD of output does not matches with the analytical prediction which uses ideal white noise as an input. This might be due to the fact that the BLWN block does not gives the ideal white noise. Also there is no choice to select its frequency band?
Honglei Chen
Honglei Chen on 10 Sep 2012
In digital domain, everything is relative to the sampling frequency. So the shape of PSD is basically shaping the band between DC and the sampling frequency. Is this what you mean?

Sign in to comment.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 7 Sep 2012
Since two different signals can have the same PSD, then there is no unique solution
  1 Comment
Chandrashekhar Dharankar
Chandrashekhar Dharankar on 9 Sep 2012
Agreed, but I am not expecting the unique solution. I want a signal which gives me the required PSD. Eg. a band limited white noise block in SIMULINK generates a different signal every time but with the same statistical characteristic.

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!