How to write a code using if statement which when reads negative volume stops
Afficher commentaires plus anciens
i need help please for using if statement
Réponses (1)
KSSV
le 6 Nov 2020
for i = [1 2 3 4 0 5 -6 -7 ]
if i < 0
break
end
i
end
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!