Previous value of the for loop isnt getting recalled in a calculation

1 view (last 30 days)
So i have a code that has the formula as follows:
Tloop(i,(j+1))=((Tloop(i,j))*(term1))+((Tloop(i-1,j))*(term4))+((tmc+273)*(term3));
The value of the i-1 doesnt get updated in the formula
Any help would be appreciated

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!