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
Project Euler: Problem 7, Nth prime
Energy of a photon
Find the dimensions of a matrix
Matlab Basics II - Log and natural log
Multiply by 3
Raise each element to the power of its index in a matrix
Calculating the total earnings of a factory
basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
Basic Quadratic Equation
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