What error in this simple code? it says 'the statement is missing'?help a beginner
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Akilraj Prabhu
el 19 de Jun. de 2017
Respondida: ES
el 19 de Jun. de 2017
endsecperday=60*60*24;
tau=1.5*secperday;
endofclass=5*secperday;
knowledgeatend=1-exp(-endofclass/tau);
disp(['at the end of 6.094,i will know '...
num2str(knowledgeatend*100)'% of MATLAB'])
1 comentario
Respuesta aceptada
ES
el 19 de Jun. de 2017
secperday=60*60*24;
tau=1.5*secperday;
endofclass=5*secperday;
knowledgeatend=1-exp(-endofclass/tau);
disp(['at the end of 6.094,i will know '...
num2str(knowledgeatend*100) , '% of MATLAB'])% Note the comma before the last piece of string
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!