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.
727 Solvers
219 Solvers
160 Solvers
253 Solvers
Back to Basics - Find no. of elements in a matrix?
220 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!