提问


distance between the rows of a matrix and the mean
Hello, Consider a 100x20 matrix. How`s the euclidean distance between each row (1x20) and the mean (average) of the rows...

12 years 前 | 1 个回答 | 0

1

个回答

提问


sum within the elements of a vector
Hello, Suppose you have the following 1xn vector: v=[(1,1),(1,2),...,(1,n)] How the sum of the elements (each other) ...

12 years 前 | 2 个回答 | 1

2

个回答

已回答
calculation of the distances between the features of the same cluster
Thank you sir. Best, Pavlos

12 years 前 | 0

提问


calculation of the distances between the features of the same cluster
Hello, The k-means syntax [IDX,C,sumd,D] = kmeans(X,k) allows you to calculate the 1. within-cluster sums of point-...

12 years 前 | 2 个回答 | 0

2

个回答

已回答
swap matrix row randomly
Hello, Yes, that worked fine. Thank you. Best, Pavlos

12 years 前 | 2

提问


swap matrix row randomly
Hello, I have a 10x20 matrix and I`d like to change the rows randomly. For example, the 1st row will become, let`s say, the ...

12 years 前 | 3 个回答 | 0

3

个回答