I want to use dot operator in matlab to perform element by element multiplication of a matrix.
How can I do it? for example: I have two 2x3 matrices
My output after multiplying 2 matrices should look like:
1 -2 6
4 1 2
To multiplty element by element operation of 2 matrices A and B, use dot operator as follows:
Please watch the video for details