while loop performance improvement
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Sensor Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!