Cody

Problem 353. Back to basics 9 - Indexed References

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

59.57% Correct | 40.43% Incorrect
Last solution submitted on Dec 04, 2016
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more