To perform element-wise multiplication between matrices a, b and c in MATLAB, you can simply use the dot .
operator as follows:
main.m113 chars6 lines
The result will be a new matrix d with the same dimensions as a, b, and c, where each element of d is the product of the corresponding elements in a, b, and c.
gistlibby LogSnag