Why is my linear search algorithm not producing the output?
Ältere Kommentare anzeigen
% 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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call C++ from MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!