Previous value of the for loop isnt getting recalled in a calculation
1 view (last 30 days)
Show older comments
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
1 Comment
Samatha Aleti
on 4 May 2020
Your question is not clear to me. Can you elaborate and share your code?
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!