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.
Test for balanced parentheses
Magic is simple (for beginners)
Sum the numbers on the main diagonal
Find cosine between two given vectors u and v.
Multiply two polynomials p and q given in in vector representation.
Convert array of decimal numbers into hexadecimal numbers array.
Opposite task convert binary numbers array into array of decimal numbers.
Calculate roots of polynomial given as vector array.
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