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.
middleAsColumn: Return all but first and last element as a column vector
389 Solvers
Convert a vector into a number
503 Solvers
134 Solvers
224 Solvers
Number of Even Elements in Fibonacci Sequence
667 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!