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
Solution Comments
Show comments
Loading...
Problem Recent Solvers94
Suggested Problems
-
7862 Solvers
-
07 - Common functions and indexing 1
454 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
1601 Solvers
-
Replace every 3rd element in a vector with 4
266 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!