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
Find the numeric mean of the prime numbers in a matrix.
Swap the first and last columns
given 3 sides, find area of this triangle
Who knows the last digit of pi?
Nth root of a number
Basic matlab numeric and string manipulations
Raise each element to the power of its index in a matrix
Find NaNs in the 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