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.
Select every other element of a vector
Remove white space from the string
Multiply 2 numbers
Big numbers, least significant digits
Big numbers, repeated least significant digits
Given the name from the legend, return the handle
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