Problem 59556. Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable
The input : x = '100205'
The Output : y = 8
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
-
11273 Solvers
-
Getting the indices from a vector
10984 Solvers
-
Count consecutive 0's in between values of 1
466 Solvers
-
200 Solvers
-
2816 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!