Problem in using the "While" loop function
Mostra commenti meno recenti
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 Commenti
A Jenkins
il 18 Set 2014
Amr Sadek
il 22 Set 2014
Rick Rosson
il 22 Set 2014
- Is the time domain continuous or discrete?
- If discrete, what is the time increment?
Amr Sadek
il 22 Set 2014
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!