<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281</link>
    <title>MATLAB Central Newsreader - bug?</title>
    <description>Feed for thread: bug?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 06 Feb 2008 17:56:01 -0500</pubDate>
      <title>bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#413352</link>
      <author>Balachander Narasimhan</author>
      <description>the rayleighchan command always gives the same tap weights&lt;br&gt;
whenever invoked. Even if I restart matlab, it gives the&lt;br&gt;
same tap values. isnt this a bug?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 18:09:54 -0500</pubDate>
      <title>Re: bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#413358</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;focsbh$9p6$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Balachander Narasimhan &amp;lt;balxxxxxchand@whatever.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;the rayleighchan command always gives the same tap weights&lt;br&gt;
&amp;gt;whenever invoked. Even if I restart matlab, it gives the&lt;br&gt;
&amp;gt;same tap values. isnt this a bug?&lt;br&gt;
&lt;br&gt;
I see nothing in the documentation to indicate that it should&lt;br&gt;
give different tap weights each time.&lt;br&gt;
&lt;br&gt;
In the link 'Simulation of Multipath Fading Channels Methodology'&lt;br&gt;
I do see that,&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;1.A complex uncorrelated (white) Gaussian process with zero mean&lt;br&gt;
&amp;nbsp;&amp;nbsp;and unit variance is generated in discrete time.&lt;br&gt;
&lt;br&gt;
But I don't see anything in there that indicates that it must or&lt;br&gt;
should generate a different Gaussian process each time.&lt;br&gt;
-- &lt;br&gt;
This is a Usenet signature block. Please do not quote it when replying&lt;br&gt;
to one of my postings.&lt;br&gt;
&lt;a href="http://en.wikipedia.org/wiki/Signature_block"&gt;http://en.wikipedia.org/wiki/Signature_block&lt;/a&gt;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 18:50:04 -0500</pubDate>
      <title>Re: bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#413375</link>
      <author>Roger Stafford</author>
      <description>"Balachander Narasimhan" &amp;lt;balxxxxxchand@whatever.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;focsbh$9p6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; the rayleighchan command always gives the same tap weights&lt;br&gt;
&amp;gt; whenever invoked. Even if I restart matlab, it gives the&lt;br&gt;
&amp;gt; same tap values. isnt this a bug?&lt;br&gt;
----------&lt;br&gt;
&amp;nbsp;&amp;nbsp;As Walter has hinted, there is probably a random element involved in &lt;br&gt;
rayleighchan, which would imply that the pseudo-random functions 'rand' or &lt;br&gt;
'randn' have been called upon.  If so, you would need to reset their initial "seed" &lt;br&gt;
or "state" settings to something that is truly random, such as the time of day &lt;br&gt;
when matlab was loaded, in order to achieve different results.  See some of the &lt;br&gt;
numerous cssm threads on this subject.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 20:03:03 -0500</pubDate>
      <title>Re: bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#413635</link>
      <author>Balachander Narasimhan</author>
      <description>Thanks for the reply. But rayleighchan function returns a&lt;br&gt;
channel object. There would be circumstances in which one&lt;br&gt;
needs multiple channel objects which behave independently.&lt;br&gt;
Here, the function becomes useless.&lt;br&gt;
&lt;br&gt;
regs&lt;br&gt;
bala &lt;br&gt;
&lt;br&gt;
roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in&lt;br&gt;
message &amp;lt;foct5i$a0b$1@canopus.cc.umanitoba.ca&amp;gt;...&lt;br&gt;
&amp;gt; In article &amp;lt;focsbh$9p6$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
&amp;gt; Balachander Narasimhan &amp;lt;balxxxxxchand@whatever.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;the rayleighchan command always gives the same tap weights&lt;br&gt;
&amp;gt; &amp;gt;whenever invoked. Even if I restart matlab, it gives the&lt;br&gt;
&amp;gt; &amp;gt;same tap values. isnt this a bug?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I see nothing in the documentation to indicate that it should&lt;br&gt;
&amp;gt; give different tap weights each time.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; In the link 'Simulation of Multipath Fading Channels&lt;br&gt;
Methodology'&lt;br&gt;
&amp;gt; I do see that,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   1.A complex uncorrelated (white) Gaussian process with&lt;br&gt;
zero mean&lt;br&gt;
&amp;gt;   and unit variance is generated in discrete time.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But I don't see anything in there that indicates that it&lt;br&gt;
must or&lt;br&gt;
&amp;gt; should generate a different Gaussian process each time.&lt;br&gt;
&amp;gt; -- &lt;br&gt;
&amp;gt; This is a Usenet signature block. Please do not quote it&lt;br&gt;
when replying&lt;br&gt;
&amp;gt; to one of my postings.&lt;br&gt;
&amp;gt; &lt;a href="http://en.wikipedia.org/wiki/Signature_block"&gt;http://en.wikipedia.org/wiki/Signature_block&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 20:04:01 -0500</pubDate>
      <title>Re: bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#413637</link>
      <author>Balachander Narasimhan</author>
      <description>Thanks for the reply. But setting the states of rand or&lt;br&gt;
randn did not help.&lt;br&gt;
&lt;br&gt;
regs&lt;br&gt;
bala&lt;br&gt;
&lt;br&gt;
"Roger Stafford" &amp;lt;ellieandrogerxyzzy@mindspring.com.invalid&amp;gt;&lt;br&gt;
wrote in message &amp;lt;focvgs$qjo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Balachander Narasimhan" &amp;lt;balxxxxxchand@whatever.com&amp;gt;&lt;br&gt;
wrote in message &lt;br&gt;
&amp;gt; &amp;lt;focsbh$9p6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; the rayleighchan command always gives the same tap weights&lt;br&gt;
&amp;gt; &amp;gt; whenever invoked. Even if I restart matlab, it gives the&lt;br&gt;
&amp;gt; &amp;gt; same tap values. isnt this a bug?&lt;br&gt;
&amp;gt; ----------&lt;br&gt;
&amp;gt;   As Walter has hinted, there is probably a random element&lt;br&gt;
involved in &lt;br&gt;
&amp;gt; rayleighchan, which would imply that the pseudo-random&lt;br&gt;
functions 'rand' or &lt;br&gt;
&amp;gt; 'randn' have been called upon.  If so, you would need to&lt;br&gt;
reset their initial "seed" &lt;br&gt;
&amp;gt; or "state" settings to something that is truly random,&lt;br&gt;
such as the time of day &lt;br&gt;
&amp;gt; when matlab was loaded, in order to achieve different&lt;br&gt;
results.  See some of the &lt;br&gt;
&amp;gt; numerous cssm threads on this subject.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Roger Stafford&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 05 Mar 2008 08:44:02 -0500</pubDate>
      <title>Re: bug?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163281#419114</link>
      <author>Jane schimit</author>
      <description>You can use:&lt;br&gt;
chan = rayleighchan(...,...);&lt;br&gt;
seed = randseed(..,..);&lt;br&gt;
reset(,seed);&lt;br&gt;
&lt;br&gt;
to set rayleighchan's initial state.  &lt;br&gt;
</description>
    </item>
  </channel>
</rss>
