How does one use multiple persistent variables?
14 ビュー (過去 30 日間)
古いコメントを表示
I need to store t t-1 and t-2 as different variables
0 件のコメント
回答 (2 件)
Jan
2016 年 10 月 25 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!