What does it mean by NaN??

Hello everyone.. I would to ask a question.. what does it mean by NaN??.. when I execute my programming.. the words "NaN" appear on my screen as a result. sorry for lack of imformation..
tq for your help

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 23 日

2 投票

It means not a number, and there could be various reasons you may have got that.
>> 0/0
>> Inf-Inf
etc. The following link has some info on what operations produce NaN

2 件のコメント

Suizwati
Suizwati 2013 年 7 月 23 日
tq so much Shashank
Jan
Jan 2013 年 7 月 23 日
You can find the corresponding documentation by:
docsearch nan
This searches for the term "nan" in the local docs.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

タグ

質問済み:

2013 年 7 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by