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!