how to generate a mesh ?
古いコメントを表示
how to generate a mesh ? maximum edge length should be 40 and number of nodes should be 126.
採用された回答
その他の回答 (1 件)
Sivakumaran Chandrasekaran
2014 年 2 月 4 日
0 投票
4 件のコメント
Walter Roberson
2014 年 2 月 4 日
If you are asking how to draw that, then patch() turns out to be the easiest way, because of the color changes.
If you are wanting to simulate 126 random nodes and use an algorithm to find a Hamiltonian Cycle through the nodes, then the methods depend upon whether you are allowed to have a "global view" and can "impose" the path from outside, or if you are instead requiring that the nodes distributedly work out the path, especially if the connections between the nodes varies dynamically.
Sivakumaran Chandrasekaran
2014 年 2 月 4 日
Walter Roberson
2014 年 2 月 4 日
From "outside" knowing all the coordinates and connections, or from "inside" with the nodes exchanging information and negotiating the connection ?
Sivakumaran Chandrasekaran
2014 年 2 月 4 日
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!