How can we change two variables in loop?
古いコメントを表示
For example I want to write an equation in which it takes first value of value g for first value of t, then it takes first two values of g for second value of t and so on and so forth until it takes all the values of g for last value of t. I can’t make a normal nested loop as it will change all values of g for one value of t.

2 件のコメント
Walter Roberson
2015 年 11 月 19 日
?? You do not appear to have a g in that expression? You have D f pi t tau x (though it is not entirely clear whether D is a constant or is the differential operator)
Atr cheema
2015 年 11 月 20 日
編集済み: Atr cheema
2015 年 11 月 20 日
回答 (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!