Random number results


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Location
    Saskatchewan Canada
    Posts
    189


    Did you find this post helpful? Yes | No

    Default

    That class was many, MANY years ago!

    I did a bit more tweaking last night and added a routine to eliminate back to back duplicates. That smoothed things out quite a bit. I did get some interesting "patterns" however. The sequence 11 - 7 - 15 - 14 came up quite a bit, but the overall string itself was far more "random" - at least enough for what I need. I think I can safely move on to debugging the next part of the code.

    Bart

  2. #2
    seinfield's Avatar
    seinfield Guest


    Did you find this post helpful? Yes | No

    Default

    You can implement a cellular automata, in the micro. There are some examples on the net in order to generate a pseudo random numbers using this method.

    I used a long time ago, in an AI course.

Similar Threads

  1. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 18:03
  2. Random number seed
    By kwelna in forum mel PIC BASIC
    Replies: 10
    Last Post: - 1st February 2007, 18:33
  3. Working with the random number generator
    By kwelna in forum mel PIC BASIC
    Replies: 9
    Last Post: - 16th January 2007, 18:50
  4. Searches
    By bearpawz in forum Forum Requests
    Replies: 11
    Last Post: - 7th November 2005, 19:47
  5. more random number questions
    By bartman in forum mel PIC BASIC
    Replies: 1
    Last Post: - 14th November 2004, 18:55

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts