Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers44
Suggested Problems
-
Check if number exists in vector
14278 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
605 Solvers
-
3657 Solvers
-
Make an identity matrix whose diagonal elements are 1:n
123 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!