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
Solution Comments
Show comments
Loading...
Problem Recent Solvers325
Suggested Problems
-
Reverse the Words (not letters) of a String
471 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
867 Solvers
-
Switch matrix to a column vector
374 Solvers
-
Sum the 'edge' values of a matrix
400 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!
Nice test suite
I really really want to know that how many methods to gain NaN up to now.
Fun problem!
Funny