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

Réponses (1)

Shashank Prasanna
Shashank Prasanna le 23 Juil 2013

2 votes

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 commentaires

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

Connectez-vous pour commenter.

Tags

Question posée :

le 23 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by