Problem 43655. Where is the number that you want to find?

Created by Iik Jae Park in Community

For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and the column as its element


 A = [1 5 6 7]
 x = 7
 output = [1 4]

Solution Stats

51.69% Correct | 48.31% Incorrect
Last solution submitted on Jan 24, 2019

Solution Comments

Recent Solvers38

Suggested Problems

More from this Author7


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!