Info
此问题已关闭。 请重新打开它进行编辑或回答。
distribute list to Matrices
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a list that shows distances of the points. It is like
Point A, Point B 5.2
Point A, Point C 4.3
Point A, Point D 2.1
Point B, Point C 7.6
Point B, Point D 3.3
Point C, Point D 1.2
But i want to recreate a matrices with that list like
Point A Point B Point C Point D
Point A 0 5.2 4.3 2.1
Point B 5.2 0 7.6 3.3
Point C 4.3 7.6 0 1.2
Point D 2.1 3.3 1.2 0
Is it possible to do it in Matlab
3 个评论
Azzi Abdelmalek
2013-10-15
编辑:Azzi Abdelmalek
2013-10-15
Is it like this?
A={'Point A,' 'Point B' '5.2'; 'Point A,' 'Point C' '4.3'}
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!