Problem 42605. UICBioE240 problem 1.11
Solution Stats
Problem Comments
-
5 Comments
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
Test suite has been fixed and additional cases are added.
Problem Recent Solvers14
Suggested Problems
-
78 Solvers
-
476 Solvers
-
387 Solvers
-
Replace Nonzero Numbers with 1
265 Solvers
-
Basic commands - Greatest common divisor
145 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!