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!