Create array tm and Tm corresponding to the midpoints of t and T Temperature steps
6 次查看(过去 30 天)
显示 更早的评论
midpoint function needed for the tm and Tm
回答(1 个)
Walter Roberson
2019-11-19
tm = t(1:end-1) + delt/2
where delt is the vector we discussed in your previous Question.
2 个评论
Walter Roberson
2019-11-19
delt = diff(t);
delT = diff(T);
tm = t(1:end-1) + delt/2;
tM = T(1:end-1) + delT/2;
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Combustion and Turbomachinery 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!