It is a good problem but needs more test cases. People may derive the wrong formula by looking just at the test suite.
2184 Solvers
The Hitchhiker's Guide to MATLAB
2875 Solvers
620 Solvers
Return the first and last characters of a character array
3469 Solvers
218 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!