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 Solvers22
Suggested Problems
-
Cell Counting: How Many Draws?
2527 Solvers
-
Flip the vector from right to left
11493 Solvers
-
551 Solvers
-
209 Solvers
-
the average value of the elements
2431 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!