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에서 Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!