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
Solution Comments
Show commentsProblem Recent Solvers87
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2759 Solvers
-
Back to basics 22 - Rotate a matrix
920 Solvers
-
Getting the row and column location from a matrix
290 Solvers
-
1671 Solvers
-
1367 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!