Exponential and Binary Search Algorithm
显示 更早的评论
Hello, So I tried to convert a cpp program that uses exponential search and binary search. I am however getting errors within the code for MATLAB, I do not understand where I have gone wrong.
The errors I am getting are in the binary search function at line 4, the exponential function at line 13 and the main file at line 10. The only thing I can think of is I am not passing the information across the functions correctly?
I hope what I have done doesn't hurt your eyes too badly!
6 个评论
Steven Lord
2017-5-11
What are the full texts (all the words displayed in red) of the error messages you receive when you try running this code?
Henry Migo
2017-5-11
Jan
2017-5-11
This tells where the error is, but the part which explains the cause is still missing.
Henry Migo
2017-5-11
Jan
2017-5-11
What is "the error box"?
Henry Migo
2017-5-11
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!