Hello.
I wanna calculate Geodesic distance from euclidean distance in matrix.
I have a code pairwise euclidean distance.
clear allclose allX = csvread('running43.csv');n = size(X,1);D1 = pdist(X);D1 = squareform(D1)/norm(D1,2);
euclidean distancegeodesic distancepairwise euclidean distance
clear allclose allX = csvread('running43.csv');n = size(X,1);D1 = pdist(X);D1 = squareform(D1)/norm(D1,2);
Best Answer