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.
Return the largest number that is adjacent to a zero
3749 Solvers
1398 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
208 Solvers
A Simple Tide Gauge with MATLAB
342 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!