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.51% Correct | 41.49% Incorrect
Last Solution submitted on Dec 01, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers310

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!