this is a part of my test and i cant find the mistake in this .
2 ビュー (過去 30 日間)
古いコメントを表示
mohamad abou khalil
2020 年 1 月 17 日
コメント済み: mohamad abou khalil
2020 年 1 月 17 日
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.
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!