How to put Recurrence Equation in a loop, moving through a matrix
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I try to put an equation which calculates soil subsidization in a loop, and something is not right.
The scheme from our teacher is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/813674/image.png)
The discrete form of the governing equation is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/813679/image.jpeg)
In code it looks like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/813684/image.jpeg)
How to make it moving continously through a 10x10 matrix of u, with indexes of j and n indicating the movement?
0 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!