Community Profile

photo

DaveF


Active since 2013

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How to vectorize this code to eliminate nested For loops
Would like to know how this code be vectorized: X=zeros(nn); for i=1:nn for j=1:nn X(i,j)=x(i)-x(j); ...

11 years ago | 5 answers | 0

5

answers