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.
Back to basics 11 - Max Integer
Back to basics 21 - Matrix replicating
Sum of first n terms of a harmonic progression
Make roundn function
Sum positive elements of matrix.
Count given word x in text.
Replace x value into y value in string text.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
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