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]
Swap the first and last columns
Determine if input is odd
Given an unsigned integer x, find the largest y by rearranging the bits in x
02 - Vector Variables 5
Initialize a Natural Number matrix.
Count given word x in text.
Create a square matrix with given conditions
Find sum of negative elements in row.
Calculate the sum of elements of n*n Hilbert matrix.
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