Calculate roots of polynomial given as vector array.
x=[1 2 0 5 0 3]
0.4784 + 1.0983i;
0.4784 - 1.0983i;
-0.1150 + 0.8680i;
-0.1150 - 0.8680i]
2 b | ~ 2 b
Given a 4x4 matrix, swap the two middle columns
01 - Scalar variables
Convert degrees to radians
Find Euclidean norm of given vector u.
Find cosine between two given vectors u and v.
Display positive elements of matrix.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
Divide polynomial p1 by p2.
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