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
-
Select every other element of a vector
35910 Solvers
-
Split a string into chunks of specified length
2042 Solvers
-
668 Solvers
-
537 Solvers
-
785 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!