Unless something has changed in the newest version of MATLAB, isequal doesn't work with NaNs.
Nan will be studied in the UICBioE240 9.79. Be patient...
I think test suite should use assert(isequalwithequalnans(y,y_correct))
isequal(NaN,NaN)
ans = 0
isequaln(NaN,NaN)
ans = 1
Swap the first and last columns
12728 Solvers
Get the area codes from a list of phone numbers
538 Solvers
Omit columns averages from a matrix
530 Solvers
Remove white space from the string
170 Solvers
Volume of a sphere given its surface area
120 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!