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

931 Solutions

459 Solvers

Last Solution submitted on Jan 23, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers459

Suggested Problems

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!