Why is my linear search algorithm not producing the output?
Afficher commentaires plus anciens
% 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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call C++ from MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!