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 Solvers15
Suggested Problems
-
Getting the indices from a vector
9799 Solvers
-
Generate N equally spaced intervals between -L and L
865 Solvers
-
484 Solvers
-
4951 Solvers
-
109 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!