while loop performance improvement
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Sensor Models finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!