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
-
2311 Solvers
-
Find nearest prime number less than input number
439 Solvers
-
96 Solvers
-
Sum of first n positive integers
475 Solvers
-
215 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!