how can I plot a geometric figure has 14 vertices and each vertices related each other ?

3 ビュー (過去 30 日間)
Badriah Al-Juaid
Badriah Al-Juaid 2019 年 10 月 27 日
コメント済み: Badriah Al-Juaid 2019 年 11 月 5 日
The second question:
I have a matrix I want to draw a matrix as geometric figure?

回答 (1 件)

Steven Lord
Steven Lord 2019 年 10 月 27 日
It's not clear to me how you want to convert the matrix into a geometric figure. Do you want to make it a heatmap? Or perhaps a graph or digraph? A complete graph would be:
adj = 1-eye(14);
g = graph(adj);
plot(g)
If you give a little more information, or perhaps even draw out the "geometric figure" you'd want to see for a smaller matrix:
A = magic(4)
we might be able to offer more specific suggestions.
  5 件のコメント
Steven Lord
Steven Lord 2019 年 10 月 31 日
Rather than sending me a message directly, where only I can read and respond, post it as a new question (perhaps with a link back to this one, for reference) or as a clarifying comment on this one. That way anyone reading MATLAB Answers can read and respond if they want, even if I'm away from my keyboard.
Badriah Al-Juaid
Badriah Al-Juaid 2019 年 11 月 5 日
sorry for late response because I was sick . Sure

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by