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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48178 Solvers
-
Output any real number that is neither positive nor negative
389 Solvers
-
609 Solvers
-
343 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
231 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!