Back to basics 9 - Indexed References - MATLAB Cody - MATLAB Central

Problem 353. Back to basics 9 - Indexed References

Difficulty:Rate

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

55.03% Correct | 44.97% Incorrect
Last Solution submitted on Jun 09, 2025

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers449

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!