How to put Recurrence Equation in a loop, moving through a matrix
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!