defined n with the equation
13 ビュー (過去 30 日間)
古いコメントを表示
- Create new arrays ‘delt’ and ‘delT’ as the mid-step values computed
from ‘t’ as delt = (t(n)-t(n-1)) and delT = (T(n)-T(n-1)). As a check, delt
will have positive values and delT will be negative values. With
negative delT values, the negative sign in the qm term will be flipped to
a positive one, resulting in positive values for h. ‘n’ is a subscript that
you could use to keep track entries of the time and temperature
arrays.
This what he wrote to us. I think that n = how many row that I have, but how I will write the equation t(n)-t(n-1) because I think he meant that t in row 5 mins t in row 5-1 but I could not figure this out. please help me.
2 件のコメント
回答 (2 件)
Walter Roberson
2019 年 11 月 17 日
"Create as the midstep values are computed" is talking about a for loop with controlling variable n, and for n=2 onwards you calculate those expressions.
As they talk about creating those as arrays there is probably an implied
delt(n-1) = t(n) - t(n-1)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!