You should use tolerance based test-suites and not isequal while dealing with floats.
A tolerance has been added to the test suite.
Find the numeric mean of the prime numbers in a matrix.
6782 Solvers
Project Euler: Problem 7, Nth prime
522 Solvers
Back to basics 8 - Matrix Diagonals
782 Solvers
746 Solvers
131 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!