Problem in using the "While" loop function
이전 댓글 표시
Hello, I have a function, say x=x(t) where x(t=0)=xo and x(t=1)=x(t=0)-fun(t), and x(t=2)=x(t=1)-fun(t), and so on. I want to make a loop function to calculate x(t) till x(t)=0. How can I do that?
Thank you.
댓글 수: 4
A Jenkins
2014년 9월 18일
Amr Sadek
2014년 9월 22일
Rick Rosson
2014년 9월 22일
- Is the time domain continuous or discrete?
- If discrete, what is the time increment?
Amr Sadek
2014년 9월 22일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 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!