Using while like for

조회 수: 1 (최근 30일)
Giannakis Stoukas
Giannakis Stoukas 2015년 4월 19일
편집: per isakson 2015년 4월 19일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by