Suppose I have A=[18 44 20 55] & B=[4 6] Now I want C=[18*4 44*4 20*6 55*6] i.e I want to multiply first element of B with first pair of elements in A and second element of B with second pair of A and so on...
MATLAB: How to multiply vector elements in the following fashion??
MATLABmultiplicationvector
Related Question
- How to split an array by same length and make a matrix
- How to find the mean of data contained in a column of a table
- If i have matrix i want to convert it to vector
- Reshaping a a matrix
- How to rearrange the rows of a matrix
- Finding positions and comparing two arrays
- Selecting an entry of a row in a large matrix
Best Answer