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
-
Is my wife right? Now with even more wrong husband
1348 Solvers
-
383 Solvers
-
Number of 1s in a binary string
11735 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Sum the elements in either diagonal of a square matrix
223 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!