Matrix multiplication in excel for mac

broken image

#View our element-wise multiplication output We can see that the output of c*x and x*c are the same, and the vector x doubles matrix c. This is where the elements in the same row are multiplied by one another. In R the asterisk (*) is used for element-wise multiplication. If we look at the output (c and x), we can see that c is a 3×2 matrix and x is a 1×3 matrix (which I will also call a vector). First let’s make some data: # Make some data

broken image
broken image

We’re considering element-wise multiplication versus matrix multiplication. This is a basic post about multiplication operations in R.