Covering some basic topics I haven't seen elsewhere on Cody.
Given an input matrix and row and column, output the index of the referenced element.
matrix: [10 12 22; 9 3 5] row: 2 col: 3 -> index = 6
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers464
Suggested Problems
-
Swap the first and last columns
23270 Solvers
-
Back to basics 4 - Search Path
383 Solvers
-
Magic is simple (for beginners)
11818 Solvers
-
Reverse the elements of an array
1146 Solvers
-
Finding perimeter of a rectangle
498 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!