Help with combining logical and relational operators
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, Is there a way I can shorten this statement without having to write x twice?
if x>=6 && x<10
1 Kommentar
Antworten (1)
Star Strider
am 4 Jun. 2017
No.
That is the correct way to constrain ‘x’ to be greater than or equal to 6 and less than 10.
0 Kommentare
Siehe auch
Kategorien
Mehr zu PHY Components finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!