how can I plot a geometric figure has 14 vertices and each vertices related each other ?
조회 수: 1 (최근 30일)
이전 댓글 표시
The second question:
I have a matrix I want to draw a matrix as geometric figure?
댓글 수: 0
답변 (1개)
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
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!