Hello, Erin. It's a really interesting problem. According to Solution 1539769, I think it would be worthwhile for you to include some (small) tolerances within the assert statements in your Test Suite, to allow for rounding due to computations in 'double precision'. —DIV
I agree with David.
Project Euler: Problem 10, Sum of Primes
708 Solvers
Convert a vector into a number
503 Solvers
147 Solvers
Integer Sequence - II : New Fibonacci
252 Solvers
Matlab Basics - Convert a row vector to a column vector
424 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!