多点坐标求其距离矩阵的方法
处理数据时,需要多个点(达到50,60)之间分别与其他点的距离矩阵以方便查阅,但根据网上的方法会不能完全显示,现在不清楚该怎么做(希望使用python,或matlab)(萌新一个,见谅),希望能得到解答,麻烦了{:10_254:}把里面每行都转为 列表 ,应该就可以显示
Twilight6 发表于 2021-6-10 09:14
把里面每行都转为 列表 ,应该就可以显示
60*60的矩阵也可以吗?能教一下具体步骤吗,麻烦您了 Zionsky 发表于 2021-6-10 09:24
60*60的矩阵也可以吗?能教一下具体步骤吗,麻烦您了
方便发下你的数据吗
Twilight6 发表于 2021-6-10 09:25
方便发下你的数据吗
我私发您吧 Twilight6 发表于 2021-6-10 09:25
方便发下你的数据吗
[(77.9932,38.2374),
(87,49.4),
(73.93333,33),
(103.4667,42.73333),
(15.66667,47.86667),
(111.4667 ,18),
(122.7333,15.33333),
(109.6667,6.133333),
(101.7333,18.66667),
(89.86667,7.466667),
(79.2,13.86667),
(93.2,24.13333),
(102.6,29.26667),
(109.9333,37),
(114.8,36.53333),
(126.0667,47.66667),
(117.8667,42.6),
(110.6667,41.53333),
(120.5333,53.13333),
(55.8,8.466667),
(73.2,20.2),
(94.93333,34.06667),
(99.13333,36.46667),
(39.6,8.066667),
(57.4,16.2),
(75.26667,28.26667),
(80.93333,32.86667),
(87.4,39.53333),
(97.2,44.46667),
(104.2667,46.73333),
(112.7333,56.06667),
(118.6,59.8),
(35.8,17.4),
(55.13333,29.33333),
(64.46667,35.8),
(77.66667,46.8),
(86.66667,43.46667),
(86.2,47.73333),
(90.6,50.33333),
(100.8,53.26667),
(105.8667,58.13333),
(84.8,49.33333),
(93.4,54.66667),
(104.8,62.46667),
(112.1333,53.06667),
(32.8,23.26667),
(53.6,43.6),
(67.13333,47.53333),
(76.2,52.53333),
(83.13333,54.13333),
(94.66667,60.93333),
(28.26667,24.8),
(31.46667,31.86667),
(63.53333,56.33333),
(64.86667,58.53333),
(73.33333,59.8),
(24.46667,35.93333),
(41.13333,50.6),
(49.8,57.26667),
(7.6,32.2),
(17.73333,43.8),
(31.6,48),
(34.53333,52.06667),
(37.33333,61.73333),
(1.8,43.2)] Zionsky 发表于 2021-6-10 09:28
[(77.9932,38.2374),
(87,49.4),
(73.93333,33),
发我 QQ 吧327981933
页:
[1]