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

176 Solutions

92 Solvers

Last Solution submitted on Jan 03, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers92

Suggested Problems

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!