Problem 47118. find the index of a number
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 commentsProblem Recent Solvers48
Suggested Problems
-
Back to basics 21 - Matrix replicating
1701 Solvers
-
Getting the indices from a vector
10843 Solvers
-
620 Solvers
-
Create an index-powered vector
843 Solvers
-
367 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!