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
-
Flip the main diagonal of a matrix
919 Solvers
-
Flag largest magnitude swings as they occur
692 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14139 Solvers
-
743 Solvers
-
634 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!