Array indices must be positive integers or logical values.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Navaneetha Krishnan Murugadoss
el 6 de Mzo. de 2022
Comentada: Walter Roberson
el 6 de Mzo. de 2022
Error in TASKA (line 22)
A(t)=(A0-B0/YB)./(1-(B0/(YB*A0))*exp(-((YB*A0/B0)-1)*K*B0.*t));
5 comentarios
David Hill
el 6 de Mzo. de 2022
Cannot help further unless you provide more information (all variables with values and context)
Respuestas (2)
Image Analyst
el 6 de Mzo. de 2022
A thorough discussion is in the FAQ:
In the meantime, try getting rid of (t) on the left hand side.
A = (A0-B0/YB) ./ (1-(B0/(YB*A0)) .* exp(-((YB*A0/B0)-1)*K*B0 .* t));
0 comentarios
Navaneetha Krishnan Murugadoss
el 6 de Mzo. de 2022
3 comentarios
Walter Roberson
el 6 de Mzo. de 2022
plot(rand(1,5), '-o')
plot(rand(1,5), '-O')
plot(rand(1,5), '-0')
which is to say that your '-0' is dash-zero and that is not a recognized line style or color. Using dash-oh or dash-capital-oh is fine.
Ver también
Categorías
Más información sobre Functions 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!

