script that finds a number using binary search?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!