Sorry, I am new to MATLAB, so bear with me. I am trying to plot a graph which shows me the values of Y_B for T = 600:10:850, where k1, k2 and k3 vary with T. Instead, I am given a blank graph with only 599 to 601 on the x axis. Heres my matlab code
MATLAB code
for i = 1:25 T(i) = 600+10i; k1(i) = 10^7*exp(-12700/T(i)); k2(i) = 5*10^4*exp(-10800/T(i)); k3(i) = 7*10^7*exp(-15000/T(i)); t = 0.2; Y_B(i) = (k1(i)*t*(k1(i)+k3(i)))/(((k2(i)*t)+1)*(k1(i)+k3(i))*(1+(t*(k1(i)+k3(i)))));endplot(T(i),Y_B(i));
Best Answer