![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7212703_1528901043140_DEF.jpg)
ejt
Followers: 0 Following: 0
Feeds
提问
How to get pdist() values of all the rows of a matrix with respect to a row of the same matrix?
Say, for example, I have a matrix x =[0 0; 1 0; 0 2; 3 0]. If I use pdist(x), Matlab will output all the Euclidean distance bet...
6 years 前 | 1 个回答 | 0