I´m trying to do a script that orders an array of numbers, and then goes into a cycle that asks a number and returns if it´s there and it´s position. I´m new to the program but I´m currently using “sort” function to arrange the numbers and “while” for the cycle. I appreciate your help!
MATLAB: Script that finds a number using binary search
beginnerbinarybinary searchcyclescriptsearch
Related Question
- Stuck on while loop, and cant get script to call out answer from function.
- Search folders/paths with strfind: how to do excluding search
- How to make a for loop and use logical operators
- Any GPU implementation of k-nearest neighbor search
- Find a vector of string in a Cell array
- Would you use Matlab Central in a job search
Best Answer