Pointwise multiplication of vectors x and y.
Example x= [1 3 5 7 9 11 13 15 17 19]
y=[ 1 4 7 10 13 16 19 22 25 28]
result= [ 1 12 35 70 117 176 247 330 425 532]
Create matrix of replicated elements
02 - Vector Variables 2
Find out total non zero element of matrix
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
Calculate the sum of elements of n*n Hilbert matrix.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
Solve expression II
Find cosine between two given vectors u and v.
Get derivarive of polynomial given as vector array.
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