Frage


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

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 14 Jahre vor | 2 Antworten | 1

2

Antworten

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

etwa 14 Jahre vor | 0

Frage


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

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

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

etwa 14 Jahre vor | 2

Frage


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

etwa 14 Jahre vor | 3 Antworten | 0

3

Antworten