this is a part of my test and i cant find the mistake in this .
2 次查看(过去 30 天)
显示 更早的评论
x = 1;
while (x < 10)
x = x - 1;
disp( x )
end
0 个评论
采纳的回答
Star Strider
2020-1-17
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 个评论
更多回答(3 个)
mohamad abou khalil
2020-1-17
2 个评论
Star Strider
2020-1-17
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
2020-1-17
2 个评论
John D'Errico
2020-1-17
Again, stop posting new answers just to make a comment or ask a new question. Ask a new question.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!