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 Solvers50
Suggested Problems
-
Which values occur exactly three times?
5244 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
07 - Common functions and indexing 6
468 Solvers
-
5933 Solvers
-
Find out sum of all elements of given Matrix
535 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!