Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 203191

Re: Search Ordered Table VI

$
0
0

Suppose I said "I'm thinking of a number from 1 to 1000.  You can "guess" 10 numbers, and I'll tell you if it is my number, or if it is too high or too low".  I'll also say that the right algorithm will always converge to my chosen number.  How would you do that?

 

The algorithm is called "Binary Search", and I'll leave it to you to either figure it out (hint -- Binary Search) or look it up.

 

Bob Schor


Viewing all articles
Browse latest Browse all 203191

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>