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...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

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) ...

plus de 12 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
calculation of the distances between the features of the same cluster
Thank you sir. Best, Pavlos

plus de 12 ans il y a | 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-...

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
swap matrix row randomly
Hello, Yes, that worked fine. Thank you. Best, Pavlos

plus de 12 ans il y a | 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 ...

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

3

réponses