performance - MATLAB scaled repmat -


is there easy way have scaled repmat in matlab?

the idea is, given matrices a , b

result = [a*b(1, 1) a*b(1, 2) a*b(1, 3) ...             a*b(1, n); a*b(2, 1)...]; 

right accomplish using permute , reshape, permutation operation 90% of script time.

i think looking kron:

result = kron(b, a); 

Comments

Popular posts from this blog

ruby on rails - ActiveRecord order not working -

java - AEM: 403 Forbidden occurs when call a Post servlet -

How to embed a map into Netlogo using GIS extension? -