How to write a code using if statement which when reads negative volume stops
Mostra commenti meno recenti
i need help please for using if statement
Risposte (1)
KSSV
il 6 Nov 2020
for i = [1 2 3 4 0 5 -6 -7 ]
if i < 0
break
end
i
end
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!