Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values.
x=[1 2;3 4]
result=[ 0 -1; -2 -3]
Find the numeric mean of the prime numbers in a matrix.
Count up then down
sum of non-primes
Create a two dimensional zero matrix
Wind Chill Computation
Find the volume of cone
Sum positive elements of matrix.
Find product of eigenvalues of n*n magic matrix.
Compare two strings.
Set x value to each odd index of vector y.
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