I suggest looking at more Cody examples to understand the structure of the problem statement, function definition, and test suite.
28552 Solvers
Who is the smartest MATLAB programmer?
564 Solvers
Number of digits in an integer
338 Solvers
621 Solvers
216 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!