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
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
First non-zero element in each column
841 Solvers
-
394 Solvers
-
Longest run of consecutive numbers
5316 Solvers
-
928 Solvers
-
372 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!