What does it mean by NaN??

14 views (last 30 days)
Suizwati
Suizwati on 23 Jul 2013
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

Answers (1)

Shashank Prasanna
Shashank Prasanna on 23 Jul 2013
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 Comments
Suizwati
Suizwati on 23 Jul 2013
tq so much Shashank
Jan
Jan on 23 Jul 2013
You can find the corresponding documentation by:
docsearch nan
This searches for the term "nan" in the local docs.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!