Sorting Columns of a table.
8 ビュー (過去 30 日間)
古いコメントを表示
I have a table with two columns without any title, i want to sort the numbers in the table in an order. I've a ttached a picture of my table to the question.
5 件のコメント
Guillaume
2018 年 10 月 8 日
Yes, the edges can be numeric (and usually are), the node names cannot be numeric.
However, looking at the discussion in the other identical question, that wx appears to be simply a copy of the Edge table, not something generated from the Node table, so you are right, the values in wx should be numeric.
回答 (2 件)
KSSV
2018 年 10 月 8 日
Okay you can sort them in the way you want. Have a look on the function sort. With this you can sort.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!