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]
Sum the numbers on the main diagonal
07 - Common functions and indexing 5
Matlab Basics - y as a function of x
multiply an array by its position number
Multiply two polynomials p and q given in in vector representation.
Replace x value into y value in string text.
Solve expression II
Divide polynomial p1 by p2.
Find Euclidean norm of given vector u.
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