How to write this for loop into while loop?
Mostrar comentarios más antiguos
Guys, this seems very simple and trivial, but I'm having a great amount of difficult with this
I have this for loop below, how can I write it in the while form?
for k=1:3:9
x=k^2
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements 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!