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
Finding Perfect Squares
Find the two most distant points
Inner product of two vectors
Capitalized string operations
count upper and lower case characters
Repetition of matrices
Basics: counting digits of a number irrespective of the sign
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