I suggest looking at more Cody examples to understand the structure of the problem statement, function definition, and test suite.
17329 Solvers
332 Solvers
466 Solvers
Union of two set decreasing order
101 Solvers
Matlab Basics - Pick out parts of a vector
201 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!