for loops within while loop

1 vue (au cours des 30 derniers jours)
Matthew
Matthew le 15 Avr 2024
Commenté : VBBV le 16 Avr 2024
.

Réponses (1)

VBBV
VBBV le 15 Avr 2024
while t1< 2 & h2 >= 0
 % your code 
end 

You could put both conditions together as above using single while loop.

  3 commentaires
Matthew
Matthew le 15 Avr 2024
unfortunately this does not solve the questions two my problem. i appreciate the insight, though.
VBBV
VBBV le 16 Avr 2024
if you explain the problem clearly (without dubious intentions) , its easier to get the problem solved.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by