Here's an implementation of the Fibonacci search method in MATLAB:
main.m1179 chars49 linesYou can use the fibonacciSearch function to search for a specific value in an array. The function returns the index of the value if found, or -1 if not found.
gistlibby LogSnag