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
-
Convert a numerical matrix into a cell array of strings
2384 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1261 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
599 Solvers
-
8432 Solvers
-
83 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!