This problem needs a test suite
Yes, Ujjwal: you must define well the test cases.
I added two simple tests.
6967 Solvers
Determine the number of odd integers in a vector
453 Solvers
Calculate the derivative of a polynomial
173 Solvers
373 Solvers
288 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!