Problem 1406. Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many different ways this can be done, so be creative and submit more than one solution if you have lots of ideas!
Solution Stats
Problem Comments
- 
		4 Comments
		    Show
		    1 older comment
		  
		  
		Thomas Vanaret
    	on 30 Oct 2013
	
	
  	Nice test suite
		xiexiezaijian
    	on 6 Oct 2016
	
	
  	I really really want to know that how many methods to gain NaN up to now.
		Jihye Sofia Seo
    	on 11 Feb 2017
	
	
  	Fun problem!
		Jiahang Li
    	on 25 Feb 2018
	
	
  	Funny
Solution Comments
Show commentsProblem Recent Solvers317
Suggested Problems
- 
         
         4906 Solvers 
- 
         
         1669 Solvers 
- 
         
         301 Solvers 
- 
         
         248 Solvers 
- 
         
         753 Solvers 
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!