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
-
Project Euler: Problem 1, Multiples of 3 and 5
3669 Solvers
-
Sum the numbers on the main diagonal
612 Solvers
-
Rounding off numbers to n decimals
5507 Solvers
-
1912 Solvers
-
Matlab Basics - Convert a row vector to a column vector
677 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!