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!