How does one use multiple persistent variables?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to store t t-1 and t-2 as different variables
0 Kommentare
Antworten (2)
Jan
am 25 Okt. 2016
Or
persistent t
persistent t_minus_1
persistent t_minus_2
Walter's and my answer are trivial. Perhaps your forgot to mention a difficult problem.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!