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

javascript - How do you prevent nested queries/catches in sequelize? -

ruby on rails - ActiveRecord order not working -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -