It looks like there's an error in the test suite; test cases 3 and 4 have different length d and n vectors.
Oof! I hate it when that happens. Fixed it. Thanks for the note.
274 Solvers
404 Solvers
Sum of first n terms of a harmonic progression
262 Solvers
121 Solvers
Create an n-by-n null matrix and fill with ones certain positions
282 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!