Zachary Bassett
Followers: 0 Following: 0
Statistics
1 Question
0 Answers
RANK
189,649
of 289,689
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 19,577
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,064
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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; ...
7 years ago | 3 answers | 0