Cody

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

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

Example

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

Solution Stats

52.17% Correct | 47.83% Incorrect
Last Solution submitted on Dec 12, 2019

Solution Comments