How to plot Design Structure Matrix?

조회 수: 7 (최근 30일)
Hau Kit Yong
Hau Kit Yong 2019년 9월 20일
댓글: Mohamed ALI ben Aissa 2020년 1월 14일
How can I plot a Design Structure Matrix (DSM) in MATLAB?
Here is an example DSM:
DSMExample.png
I have tried storing my connections in a sparse matrix and then plotting it using spy, but I would prefer to have filled boxes representing connections instead of nodes like the plots that spy returns.
  댓글 수: 1
Mohamed ALI ben Aissa
Mohamed ALI ben Aissa 2020년 1월 14일
Please, how to create Design strcuture Matrix in matlab and how to do clustering
Thank's for advance

댓글을 달려면 로그인하십시오.

답변 (1개)

Divya Yerraguntla
Divya Yerraguntla 2019년 9월 30일
Hi Hau Kit Yong,
You could use the below code to plot empty squares using spy function
spy(sparse_matrix,'rs') %for red squares
Then in the figure window you could go to the Property Inspector of plotted data and change the MarkerFaceColor property under Markers section to the required color in order to fill in the empty squares.
Hope it helps!

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by