Path: news.mathworks.com!not-for-mail
From: "Rick Rosson" <rrosson@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Narrow band Noise generation
Date: Fri, 6 Jul 2007 11:50:32 -0400
Organization: The MathWorks, Inc.
Lines: 28
Message-ID: <f6loca$e84$1@fred.mathworks.com>
References: <ef5ca3f.-1@webcrossing.raydaftYaTP>   <f6ld7u$h9g$1@fred.mathworks.com> <1183735615.504786.173400@57g2000hsv.googlegroups.com>
Reply-To: "Rick Rosson" <rrosson@mathworks.com>
NNTP-Posting-Host: rossonr.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1183737034 14596 144.212.206.185 (6 Jul 2007 15:50:34 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Jul 2007 15:50:34 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Xref: news.mathworks.com comp.soft-sys.matlab:417609




That works too.  The function RAND, however, generates a uniform 
distribution, whereas RANDN generates a normal distrubution.


>
> <Steve.Amphlett@ricardo.com> wrote:
>
> What's wrong with simply rand() passed through a band-pass filter?
>
>>
>> Rick Rosson wrote:
>>
>> You might consider using the WGN or AWGN functions to generate your white
>> noise signals.  For more info, type:
>>
>>     doc wgn
>>
>>     OR
>>
>>     doc awgn
>>
>> at the command prompt.
>>
>> Once you have your white noise signal, try passing it through a low-pass
>> filter to create narrowband noise.