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
191 Solvers
Sum of diagonal of a square matrix
1333 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
353 Solvers
Piecewise linear interpolation
304 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!