フィルターのクリア

Using while like for

3 ビュー (過去 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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by