Setting up matlab code for combustion problem

2 Commenti

What is the question?
i have this code but i can’t seem to work in matlab and help on how to plot
for n=1:17
Tx = Tp(n); % specify which temperature to use
if Tr < 1600 % determines which values to use, reactant Ar = A(:,1); elseif Tr >= 1600 Ar = A(:,2); end
if Tp(n) < 1600 %determines which values to use, products Ap = A(:,1); elseif Tp(n) > 1600 Ap = A(:,2); end
for m=1:5
%%%%%Main Equation
dh = N((Ap + Bp*Tx + Cp*log(Tp)) - (Ar + Br*Tr + Cr*log(Tr))); % n (row) is temp, m (column) are elements
%%%%%Main Equation
end

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Oil, Gas & Petrochemical in Centro assistenza e File Exchange

Richiesto:

il 18 Ott 2021

Commentato:

il 18 Ott 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by