What's the best way to 1) multiply all the elements between two similar sized matrices then 2) sum them into one single number/outcome?
MATLAB: Multiply then sum elements of two matrices
additionmatricesmultiplication
Related Question
- Gpu computation is slow sometimes
- Where can I see how much time it takes to simulate a .m file
- For a loop , to carry out element by element multiplication is bsxfun better than conventional element by element.
- Is CELLFUN(@isempty) much slower than CELLFUN(‘isempty’)
- Gets imellipse slower and slower in a loop
Best Answer