Any idea why b={1 0; nan 3}; isequal(b,b) gives false?
Don't bother... nan is not equal to nan unless you use isequaln!
perfect
Very nice.
@Jean-Marie
This is simply a copyof the leading solution "Solution 119943"
Test if a Number is a Palindrome without using any String Operations
181 Solvers
306 Solvers
Vectorize the digits of an Integer
269 Solvers
Magic is simple (for beginners)
2757 Solvers
480 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!