Additional test cases were added along with an improved solution-checking assertion.
Add two numbers
Factorize THIS, buddy
Back to basics 25 - Valid variable names
Getting the row and column location from a matrix
Side of a rhombus
Find the sum of the negative elements under the main diagonal.
Find the product of the positive elements above the main diagonal.
Return ! if array element starts with a certain letter. Otherwise return ?
Calculate the centroid of a triangle
Find Adjacency 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