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.
Remove all the consonants
Find the longest sequence of 1's in a binary sequence.
Determine if input is odd
Reverse the vector
Max of a Vector
Find cosine between two given vectors u and v.
Find sum of negative elements in row.
Calculate the sum of elements of n*n Hilbert matrix.
Find the volume of cone
Multiply two polynomials p and q given in in vector representation.
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