Re: Random number help



Nishant wrote:
>
>
> 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

Well, I wonder if anyone understood all that. I didn't. I think
it's time to post some code and to describe what's wrong with the
results it produces.
.



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 less ... 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: Can this loop be made faster ?
    ... |> Optimisation: maximal 16 iterations for loops which contain one branch, ... |> otherwise the branch-prediction-table will reload (8 clocks penalty ... |> every/after 16 iterations on AMD). ... but if a second Jcc is within the loop then there are more ...
    (alt.lang.asm)

Loading