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.07% Correct | 40.93% Incorrect
Last solution submitted on Sep 18, 2017
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!