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
Select every other element of a vector
03 - Matrix Variables 5
Matlab Basics II - Create a vector with a repeated entry
Find the nearest prime number
Check if there are white spaces in the input string
Find NaNs in the matrix
Check for keywords
Raise each element to the power of its index in a matrix
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