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
835 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
315 Solvers
Mysterious digits operation (easy)
136 Solvers
Max Change in Consecutive Elements
89 Solvers
compress sequence into intervals
53 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!