photo

Zachary Bassett


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • First Review
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Is there a way to remove the nested for loops from this segment of code? I'm trying to make the code generic so it can take in n-number of moment arrays.
moment(:,:,1) = [1 0 0; 2 1 0]; moment(:,:,2) = [2 2 2; 3 0 1]; moment(:,:,3) = [3 1 2; 1 1 1]; moment(:,:,4) = [1 0 0; ...

plus de 7 ans il y a | 3 réponses | 0

3

réponses