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.
Sort a list of complex numbers based on far they are from the origin.
4328 Solvers
Change the first and last diagonal element of the identity matrix to zero
117 Solvers
286 Solvers
157 Solvers
76 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!