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
-
Find the longest sequence of 1's in a binary sequence.
6683 Solvers
-
4495 Solvers
-
Find out sum and carry of Binary adder
1694 Solvers
-
Determine if input is divisible by three.
241 Solvers
-
138 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!