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.
Create logical matrix with a specific row and column sums
177 Solvers
562 Solvers
578 Solvers
Convert a Cell Array into an Array
446 Solvers
395 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!