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 Solvers18
Suggested Problems
-
Swap the first and last columns
21004 Solvers
-
1648 Solvers
-
Set the array elements whose value is 13 to 0
1377 Solvers
-
365 Solvers
-
Sum the squares of numbers from 1 to n
249 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!