Feeds
提问
Row by column multiplication
Consider two matrices A and B defined by A=rand(10,3); B=rand(3,10); I'm interested in multiplying the vectors defin...
12 years 前 | 5 个回答 | 0
5
个回答已回答
I'm looking to eliminate the following for loop:
Here was the problem: my vector ijk pointed to same index in rn at multiple times. For example, consider mp=[0.1;0.2;0.3]; ...
I'm looking to eliminate the following for loop:
Here was the problem: my vector ijk pointed to same index in rn at multiple times. For example, consider mp=[0.1;0.2;0.3]; ...
13 years 前 | 0
提问
I'm looking to eliminate the following for loop:
I'm looking to eliminate the following for loop: for j=1:96 rn(ijk(j))=rn(ijk(j))+mp(j); end Background: rn is a 200...
13 years 前 | 3 个回答 | 1