You test suite should be corrected as
assert(isequal(comb_gap(a,b),d_correct))
Thanks for the correction
ur problem description is quite vague
17468 Solvers
9868 Solvers
536 Solvers
686 Solvers
271 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!