Given a number and a single digit number as the input.
Find the index of that single digit number.
for eg. a=83456, x=4
output should be y=3
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers51
Suggested Problems
-
All your base are belong to us
578 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
-
725 Solvers
-
Matlab Basics II - Max & Index of Max
266 Solvers
-
1033 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!