03-26-2018 07:12 PM
Dear All,
I am using the tool '' Search Ordered Table VI '' which is shown in the attached picture.
please please I need someone to help to understand the exact principle of this tool, as I use it and I need to explain how this function work. I have checked the manual and it seems not enough information about it.
I wish if someone could help with this.
Thank you in advance for your attention
best regards
Thoalfukar
03-26-2018 08:18 PM
Open up the VI and look at its block diagram. It has some comments to tell you what it's doing.
03-27-2018 03:24 AM
There are very few and I couldn't understand the code from that comments
03-27-2018 03:47 AM - edited 03-27-2018 03:48 AM
Hi Thoal
I couldn't understand the code from that comments
The help for this functions explains it very well:
So what are you missing from this explanation?
03-27-2018 04:32 AM
Ok... I wish if you can a little bit patient with me.
now if I want to explain this tool in my own words, just to write about it in my paper.
would the following be convenient:
The principle of its work:
First: define whether the values of the powers within the LUT are ascending or descending.
second: defining where is roughly the location of the of the power within the LUT in order to narrows or partitioning the search area. After that the search will be within a small brackets, and if the exact value is not within that packet, the nearest index within that packet will be picked up.
best regards
03-27-2018 04:36 AM
03-27-2018 07:42 AM
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