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!