What is this error in Script file?
Mostrar comentarios más antiguos
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
4 comentarios
Star Strider
el 5 de Oct. de 2014
It runs until it gets to the second plot call.
Obvious question:
What are ‘timeopc25’, and ‘alphaopc25’?
Are they important to your question?
adrooney
el 6 de Oct. de 2014
Star Strider
el 6 de Oct. de 2014
We don’t have ‘timeopc25’, and ‘alphaopc25’ so we can’t help you with them.
adrooney
el 6 de Oct. de 2014
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!