How can i write condition "x is not less then zero" in while loop

 採用された回答

Thorsten
Thorsten 2015 年 9 月 22 日

1 投票

while x >= 0

その他の回答 (1 件)

Jan
Jan 2015 年 9 月 22 日
編集済み: Jan 2015 年 9 月 22 日

1 投票

while not(x < 0)
But Thorsten's "x >= 0" is nicer.

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2015 年 9 月 22 日

コメント済み:

2015 年 9 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by