At a minimum, you should make this problem variable. For example, find the element at the ith row and jth column and define i and j in the test cases, which are passed along with the function.
Return the first and last characters of a character array
3686 Solvers
3248 Solvers
489 Solvers
Solving Quadratic Equations (Version 1)
429 Solvers
196 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!