I suggest adding additional test cases to make the problem stronger.
1311 Solvers
07 - Common functions and indexing 1
338 Solvers
Find the square of the sum of the digits of a number
119 Solvers
Matlab Basics - Switching Assignments
171 Solvers
Replace Negative(-) by 0 and positive by 1
74 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!