Problem 44548. ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', the result should be a sum of the array: [77 121 32 110 97 109 101 32 105 115 32 116 101 115 116] i.e. 1379
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers49
Suggested Problems
-
Select every other element of a vector
35863 Solvers
-
Back to basics 4 - Search Path
378 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1243 Solvers
-
07 - Common functions and indexing 1
451 Solvers
-
Determine the length of a string of characters
265 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!