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"
Sort a list of complex numbers based on far they are from the origin.
4353 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1529 Solvers
Convert a vector into a number
507 Solvers
Generate a random matrix A of (1,-1)
214 Solvers
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!