X=zeros (1,1301);time =0:0.05:65;k=0.05;for i=2:1301 X(i) = ((k*(0.293*X(i-1)^2)-(0.542*X(i-1))+0.354)*0.05) +X(i-1);end plot (time, X) hold on plot (timeopc25, alphaopc25,'--') legend('Predicted Data','Experimental data');
It tells, not formed from a valid matlab identifier. What does this mean? Thanx in advance
Best Answer