Create array tm and Tm corresponding to the midpoints of t and T Temperature steps
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
midpoint function needed for the tm and Tm
2 commentaires
Réponses (1)
Walter Roberson
le 19 Nov 2019
tm = t(1:end-1) + delt/2
where delt is the vector we discussed in your previous Question.
2 commentaires
Walter Roberson
le 19 Nov 2019
delt = diff(t);
delT = diff(T);
tm = t(1:end-1) + delt/2;
tM = T(1:end-1) + delT/2;
Voir également
Catégories
En savoir plus sur Combustion and Turbomachinery dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!