This solution is correct to within eps, but the test is expecting exact agreement. That is not good programming when dealing with floating point numbers.
10081 Solvers
Back to basics 8 - Matrix Diagonals
788 Solvers
Sum of first n terms of a harmonic progression
262 Solvers
258 Solvers
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
141 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!