this is a part of my test and i cant find the mistake in this .
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mohamad abou khalil
el 17 de En. de 2020
Comentada: mohamad abou khalil
el 17 de En. de 2020
x = 1;
while (x < 10)
x = x - 1;
disp( x )
end
0 comentarios
Respuesta aceptada
Star Strider
el 17 de En. de 2020
The obvious observation is that ‘x’ is going to be less than 10 from the initial iteration through how many iterations it takes to be essentially equivalent to -Infinity.
3 comentarios
Más respuestas (3)
mohamad abou khalil
el 17 de En. de 2020
2 comentarios
Star Strider
el 17 de En. de 2020
For my part, to an extent, although I’ve not done anything with them since graduate school (when we rode sauropods). However -Inf is still -Inf reagrdless of the base it is calcualted in. It just takes a different form.
mohamad abou khalil
el 17 de En. de 2020
2 comentarios
John D'Errico
el 17 de En. de 2020
Again, stop posting new answers just to make a comment or ask a new question. Ask a new question.
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!