http://mirlab.org/jang/books/matlabprogramming4guru/02-1_Optimization4codeNmem.asp?title=2-1%2B%25A6V%25B6q%25A4%25C6%25B9B%25BA%25E2%25BBP%2BJIT%2B%25A5[%25B3t&fbclid=IwAR3ddB36DB2QpyJ7rQf95Y9JDFiYaSMTu4BRafeHWTu6XZW6GKvO34DHAcw
内文提到
% 第一种方法:for-loop operation
for p = 1:n
for q = 1:n
c1(p, q) = a(p, q)*b(p, q);
% 第二种方法:vectorized operation
c2 = a.*b;
.....第一种方法用矩阵元素互乘 竟比第二种方法快?
确定吗 我好像看过完全相反的说法= =?