while loop performance improvement
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Sensor Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!