Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: bug?
Date: Wed, 6 Feb 2008 18:50:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <focvgs$qjo$1@fred.mathworks.com>
References: <focsbh$9p6$1@fred.mathworks.com>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202323804 27256 172.30.248.35 (6 Feb 2008 18:50:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 6 Feb 2008 18:50:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:449708


"Balachander Narasimhan" <balxxxxxchand@whatever.com> wrote in message 
<focsbh$9p6$1@fred.mathworks.com>...
> the rayleighchan command always gives the same tap weights
> whenever invoked. Even if I restart matlab, it gives the
> same tap values. isnt this a bug?
----------
  As Walter has hinted, there is probably a random element involved in 
rayleighchan, which would imply that the pseudo-random functions 'rand' or 
'randn' have been called upon.  If so, you would need to reset their initial "seed" 
or "state" settings to something that is truly random, such as the time of day 
when matlab was loaded, in order to achieve different results.  See some of the 
numerous cssm threads on this subject.

Roger Stafford