Re: Random number help



hello Friends
Thanks for your suggestions. But I am still unable
to debug my code.

Please suggest me regarding the best possible use of random number
generator.
I am unable to figure out the reason why it is not working properly.I
have seen that the random number generator works fine when I use less
number of iteration in the for loop but it fails to work properly when
I increase the number of iterations in the for loop.

meaning that the random number generator generates different
sequence of random no each time if the no of iterations in the for
loop is less where as it fails to produce a different sequence of
random no each time if the no of iterations in the for loop in large.


please let me know any technique to debug this error in my code
Awaiting your reply

Regards And Thanks
Nishant

.



Relevant Pages

  • Re: Help for random number generator
    ... > have seen that the random number generator works fine when I use less ... > I increase the number of iterations in the for loop. ... > sequence of random no each time if the no of iterations in the for ...
    (sci.stat.math)
  • Re: Random number help
    ... > to debug my code. ... > have seen that the random number generator works fine when I use ... > I increase the number of iterations in the for loop. ...
    (comp.soft-sys.matlab)
  • Re: Help for random number generator
    ... have seen that the random number generator works fine when I use less ... I increase the number of iterations in the for loop. ... sequence of random no each time if the no of iterations in the for ...
    (sci.stat.math)
  • Re: Matlab guide lines
    ... have seen that the random number generator works fine when I use less ... when I increase the number of iterations in the for loop. ... sequence of random no each time if the no of iterations in the for ...
    (comp.soft-sys.matlab)
  • Re: how can this iterator be optimized?
    ... for comprehensions if a for loop can be reduced to such. ... any speed advantage in this case of a comprehension-style generator vs. ... I understand that comprehensions are slightly slower. ... If there's only one call to func(), and you ignore the fixed ...
    (comp.lang.python)

Loading