while loop performance improvement
Mostra commenti meno recenti
Hello everyone,
What is the alternative of while loop for the example:
rate = 2;
while (k <= period)
sum = sum + array(k,2);
k = k + rate;
end
Thanks.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Sensor Models in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!