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 Solvers463
Suggested Problems
-
3492 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
895 Solvers
-
426 Solvers
-
Add a row of zeros on top of a matrix
268 Solvers
-
Back to basics - mean of corner elements of a matrix
467 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!