Find scalar product of two polynomials given as vector array.
a=[1 -1 2];
b=[2 4 1];
Number of Horns on a unicorn!
Number of odd and even elements within matrix
Convert array of decimal numbers into hexadecimal numbers array.
Find hen's weight.
Multiply two polynomials p and q given in in vector representation.
Find product of eigenvalues of n*n magic matrix.
Find cosine between two given vectors u and v.
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