Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

problem in solving code for arrehenius equation,To and Ta are in kelvin

4 visualizaciones (últimos 30 días)
sneha
sneha el 1 de Mayo de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
clear all;close all;clc; k=8.617385*10^(-5); T0=298; EA=0.9; Ta = -40:10:70; n=(EA/k)*((1/T0)-(1/Ta)); AF=exp(n); %n=(EA/k)*((1/T0)-(1/(298))); %T=5; % for i=1:l % n=(EA/k)*((1/T0)-(1/((i*T)+293))); % AF(i)=exp(n); % end
plot(Ta,AF,'-rs','LineWidth',2,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','b',...
'MarkerSize',10)
%plot(Ta,AF1);
% axes;
grid on;
% xlim([10 100]);
% ylim([0 800]);

Respuestas (1)

Richard
Richard el 1 de Mayo de 2012
in your loop what is 'l' suppose to be? Your stating that your loop goes from 1 to 'l' but haven't specified what 'l' is.
From your loop I am guessing that the main problem is that you are not storing each iteration of i so try to replace 'n' with n(i) maybe. I can only guess at the moment as I am not sure what you are trying to do.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by