Problem 43111. sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters.
for example, if x='lala' ('l'-> 108, 'a'->97) then y = 108+97+108+97
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers65
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6127 Solvers
-
Is my wife right? Now with even more wrong husband
1319 Solvers
-
07 - Common functions and indexing 1
431 Solvers
-
Find the dimensions of a matrix
511 Solvers
-
4736 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!