How to build a system of iteration for multiple interrelated variables?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
jgg
le 24 Fév 2016
Sorry, this should be V = zeros(maxiter,5); instead of 6; I miscounted your variables.
Réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!