Borrar filtros
Borrar filtros

Using while like for

3 visualizaciones (últimos 30 días)
Giannakis Stoukas
Giannakis Stoukas el 19 de Abr. de 2015
Editada: per isakson el 19 de Abr. de 2015
I want to use while loop,like double for loop.I have a
while flag==0
for i+1:N
for j=1:V
if
% {part of code, flag becomes one (flag=1) }
end
end
end
end
and i want to write it in while loop with a condition that stops when a variable flag becomes 1

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by