I suggest looking at more Cody examples to understand the structure of the problem statement, function definition, and test suite.
6984 Solvers
Calculate the derivative of a polynomial
173 Solvers
07 - Common functions and indexing 2
331 Solvers
Create a two dimensional zero matrix
363 Solvers
366 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!