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!
Nice test suite
I really really want to know that how many methods to gain NaN up to now.
Number of 1s in the Binary Representation of a Number
Back to basics 1 - Saving
What's Your BMI?
Close MATLAB with keyboard
Switch matrix to a column vector
Big numbers, least significant digits
Given the name from the legend, return the handle
Big numbers, repeated least significant digits
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office