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
-
Create a vector whose elements depend on the previous element
801 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
894 Solvers
-
16894 Solvers
-
6285 Solvers
-
286 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!