for loops within while loop
Show older comments
Answers (1)
VBBV
on 15 Apr 2024
0 votes
while t1< 2 & h2 >= 0 % your code end
You could put both conditions together as above using single while loop.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!