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

Answers (1)

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

tq so much Shashank
You can find the corresponding documentation by:
docsearch nan
This searches for the term "nan" in the local docs.

Sign in to comment.

Tags

Asked:

on 23 Jul 2013

Community Treasure Hunt

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

Start Hunting!