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
-
Project Euler: Problem 4, Palindromic numbers
1268 Solvers
-
Convert from Base 10 to base 5
281 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13742 Solvers
-
Matlab Basics II - Count rows in a matrix
405 Solvers
-
899 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!