Setting up matlab code for combustion problem

2 comentarios

KSSV
KSSV el 18 de Oct. de 2021
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Oil, Gas & Petrochemical en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Oct. de 2021

Comentada:

el 18 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by