It would be better to check the answers by taking the difference of the results and compare with some tolerance. Thank you very much.
I agree with George. One should not use isequal with floating-point numbers.
Tolerance has been added to the test suite.
54211 Solvers
Getting the absolute index from a matrix
211 Solvers
Replace Nonzero Numbers with 1
178 Solvers
548 Solvers
Compute LOG(1+X) in natural log
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!