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

15 Ansichten (letzte 30 Tage)
while (x~<-1)

Akzeptierte Antwort

Thorsten
Thorsten am 22 Sep. 2015

Weitere Antworten (1)

Jan
Jan am 22 Sep. 2015
Bearbeitet: Jan am 22 Sep. 2015
while not(x < 0)
But Thorsten's "x >= 0" is nicer.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by