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 comments
Loading...
Problem Recent Solvers20
Suggested Problems
-
9142 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13610 Solvers
-
1213 Solvers
-
225 Solvers
-
902 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!