-
1 Comment
Matthew Eicholtz
on 7 Nov 2013
This approach should work as well, but the results are not exactly equal (<1e-14 error). I suggest adding a tolerance to the test suite.
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
1926 Solvers
-
348 Solvers
-
438 Solvers
-
728 Solvers
-
633 Solvers
More from this Author26
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!