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.
9833 Solvers
Is my wife right? Now with even more wrong husband
1241 Solvers
573 Solvers
521 Solvers
115 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!