pair wise distance matric
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Pdist give me n (n-1)/2 distances .I want know how i can have all of distances even with repeat means n (n-1) distances.
0 Commenti
Risposta accettata
Friedrich
il 14 Lug 2014
Hi,
you can use squareform:
X = randn(10, 2);
D = squareform(pdist(X));
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!