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"
234 Solvers
Number of 1s in a binary string
2991 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
144 Solvers
193 Solvers
Try 1.5.4: Celsius to Fahrenheit
612 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!