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
-
Create a vector whose elements depend on the previous element
776 Solvers
-
641 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
Returning a "greater than" vector
275 Solvers
-
Test Problem; Create a 5x5 array containing all ones
402 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!