for loops within while loop
显示 更早的评论
回答(1 个)
VBBV
2024-4-15
0 个投票
while t1< 2 & h2 >= 0 % your code end
You could put both conditions together as above using single while loop.
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!