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
Summing Digits within Text
Back to basics 13 - Input variables
Create incrementing array
07 - Common functions and indexing 6
Evaluating a polynomial
Repetition of matrices
Find NaNs in the matrix
Sum of unique multiples of 3 and 5
count upper and lower case characters
Calculating the total earnings of a factory
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office