Please Help me solve this loop!
Ältere Kommentare anzeigen
Hello,
I am just student, I want to learn matlab more. But i get some trouble with loop

With t=1 i know how to code, however, Si(t-1) i don't know how to code, can you help me and teach me code for this loop , please ?
1 Kommentar
Antworten (2)
Walter Roberson
am 10 Dez. 2020
s(i,t) = s(i, t-1) + q(i,t) - d(i,t)
1 Kommentar
Kevin
am 10 Dez. 2020
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!