|
From: Micik on 5 May 2008 15:38 Hello to all, is there any MATLAB function which can simulate white noise. I'm reading one theory book in which there is example where signal containes additive white noise. I 'm not sure how to model that in Matlab. Any advices?
From: NZTideMan on 5 May 2008 16:02 On May 6, 7:38 am, Micik <brob...(a)yahoo.com> wrote: > Hello to all, > is there any MATLAB function which can simulate white noise. I'm > reading one theory book in which there is example where signal > containes additive white noise. I 'm not sure how to model that in > Matlab. > Any advices? help randn
From: Greg Heath on 5 May 2008 16:55 On May 5, 4:02 pm, NZTideMan <mul...(a)gmail.com> wrote: > On May 6, 7:38 am, Micik <brob...(a)yahoo.com> wrote: > > > Hello to all, > > is there any MATLAB function which can simulate white noise. I'm > > reading one theory book in which there is example where signal > > containes additive white noise. I 'm not sure how to model that in > > Matlab. > > Any advices? > > help randn P0 = mean(s0.*s0); s = s0 + sqrt(P0/SNR)*randn(N,1); P = mean(s.*s); P0 and P will approach theoretical values as N --> inf. Hope this helps. Greg
|
Pages: 1 Prev: Mex file crashes on second run Next: Student Ed. of MATLAB 5 for the Mac, Prentice Hall |