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]
Write a code that will follow the equation y = x * (x + x) * x.
Rotate array 90 degrees
Solve expression II
Sum positive elements of matrix.
Create a square matrix with given conditions
Opposite task convert binary numbers array into array of decimal numbers.
Calculate the sum of elements of n*n Hilbert matrix.
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