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.
7 segment LED display
Make a 1 hot vector
Create an index-powered vector
Swap two numbers
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