Multiply two polynomials p and q given in vector representation.
p=[-2 0 1 -1 3 2]
q=[1 0 -1 2 4]
result=[-2 0 3 -5 -6 5 -1 0 16 8]
Indexed Probability Table
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Is it an Armstrong number?
Element by element multiplication of two vectors
Rotate array 90 degrees
Calculate roots of polynomial given as vector array.
Find cosine between two given vectors u and v.
Find the sides of an isosceles triangle when given its area and height from its base to apex
Find product of eigenvalues of n*n magic matrix.
Set x value to each odd index of vector y.
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