Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 1

2

answers

Answered
calculation of the distances between the features of the same cluster
Thank you sir. Best, Pavlos

12 years ago | 0

Question


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 ago | 2 answers | 0

2

answers

Answered
swap matrix row randomly
Hello, Yes, that worked fine. Thank you. Best, Pavlos

12 years ago | 1

Question


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 ago | 3 answers | 0

3

answers