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.
Matrix indexing with two vectors of indices
Replace Vector Elements
Are all the three given point in the same line?
Find the next prime number
Set x value to each even index of vector y.
Opposite task convert binary numbers array into array of decimal numbers.
Divide polynomial p1 by p2.
Set x value to each odd index of vector y.
Form a square matrix from four square sub-matrices
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