photo

John


Actif depuis 2012

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


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...

plus de 12 ans il y a | 5 réponses | 0

5

réponses

Réponse apportée
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]; ...

environ 13 ans il y a | 0

Question


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...

environ 13 ans il y a | 3 réponses | 1

3

réponses