Create array tm and Tm corresponding to the midpoints of t and T Temperature steps
3 ビュー (過去 30 日間)
古いコメントを表示
midpoint function needed for the tm and Tm
2 件のコメント
回答 (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!