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!