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
-
Return the 3n+1 sequence for n
8539 Solvers
-
Back to basics 8 - Matrix Diagonals
973 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14464 Solvers
-
581 Solvers
-
Add a row of zeros on top of a matrix
269 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!