Why is my linear search algorithm not producing the output?
古いコメントを表示
% begins by comparing x and a1
i := 1
while(i =< n and x /= a1)
i := i + 1
if i =< n
location := i
else
location := 0
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Call C++ from MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!