Find the sides of an isosceles triangle when given its area and the height from its base to apex.
For example, with A=12 and h=4, the result will be [5 5 6].
This problem has been polished along with an enhanced test suite.
Find relatively common elements in matrix rows
Distance walked 1D
Matrix indexing with two vectors of indices
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
Reverse the elements of an array
Opposite task convert binary numbers array into array of decimal numbers.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
Delete x value in given vector y.
Find Euclidean norm of given vector u.
Solve expression II
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