Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

additive white gaussian in matlab

Asked by anas qazaz on 1 May 2013

hi,all how i can add to my signal see x additive white gaussian noise with flat power spectral density in matlab

thanks in advance

0 Comments

anas qazaz

Products

No products are associated with this question.

1 Answer

Answer by Shashank on 1 May 2013
Edited by Shashank on 1 May 2013

There are a lot of functions you can use to do that, depends on what toolbox you have and how you want to specify the nature of the noise:

http://www.mathworks.com/help/matlab/ref/randn.html

http://www.mathworks.com/help/comm/ref/awgn.html

http://www.mathworks.com/help/comm/ref/wgn.html

2 Comments

anas qazaz on 2 May 2013

thanks for answering but i want add white gaussian noise with "flat power spectral density"

Shashank on 2 May 2013

White noise already means that: http://en.wikipedia.org/wiki/White_noise

awgn and wgn will do this for you

Shashank

Contact us