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 Solvers88
Suggested Problems
-
Create a square matrix of multiples
487 Solvers
-
Flip the main diagonal of a matrix
870 Solvers
-
1158 Solvers
-
Output any real number that is neither positive nor negative
401 Solvers
-
find the mean of all elements in a matrix
118 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!