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]
Find all elements less than 0 or greater than 10 and replace them with NaN
Replicate elements in vectors
sum of non-primes
Find the hypotenuse
Change string to number
Find sum of negative elements in row.
Find scalar product of two polynomials a and b, given as vector array.
Find cosine between two given vectors u and v.
Find the sines of an isosceles triangle when given its area and height
Form a square matrix from four square sub-matrices
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