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

58.31% Correct | 41.69% Incorrect
Last Solution submitted on Apr 16, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers301

Suggested Problems

More from this Author4

Problem Tags

nan

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!