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]
Make one big string out of two smaller strings
First non-zero element in each column
Whether the input is vector?
Compare two input matrices
Test Problem; Create a 5x5 array containing all ones
Sum positive elements of matrix.
Opposite task convert binary numbers array into array of decimal numbers.
Count given word x in text.
Form a square matrix from four square sub-matrices
Calculate roots 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