How to build a system of iteration for multiple interrelated variables?
3 ビュー (過去 30 日間)
古いコメントを表示
Primarily, I have 5 variables - q1,q2,q3,q4 and ts. q1,q2,q3,q4 are dependent on ts and ts is also dependent on q1,q2,q3,q4. I have the initial values of all of these q1,q2,q3,q4 and ts. Then comes t2 which I get from the above 5 variables. and Then ts(new) = ts+t2. For this new ts, the values of q1,q2,q3 and q4 again change and we get new t2, and ts is changed again....the process should go on.
How do I develop this system in Matlab? I am new in matlab, but not very novice.
4 件のコメント
jgg
2016 年 2 月 24 日
Sorry, this should be V = zeros(maxiter,5); instead of 6; I miscounted your variables.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!