MATLAB: Friedman Reuch Levi equation

frl equation

Hi every one.
alpha= 0.1;
E=122;
R=8.314;
A=1;
T=0:0.1:400;
G=sqrt(1-(1-alpha)^(1/3));
log(bita)=log(((A*E)./R))-2.315-((0.4567*E)./(R))*(1./T)-log(G);
plot(log(bita),(1/T),'-r*','LineWidth',2);
xlabel('(1/T)');ylabel('log(bita)');
title('log(bita) vs (1/T)')
program is not running.
where am doing mistake in cade.
can u pls tell me.

Best Answer

Variable's names like x(data) is not allowed () representing array indexing, that why I have changed the variable name from log(bita) to log_bita
alpha= 0.1;
E=122;
R=8.314;
A=1;
T=0:0.1:400;
G=sqrt(1-(1-alpha)^(1/3));
log_bita=log(((A*E)./R))-2.315-((0.4567*E)./(R))*(1./T)-log(G);
plot(log_bita,(1./T),'-r*','LineWidth',2);
xlabel('(1/T)');ylabel('log(bita)');
title('log(bita) vs (1/T)')