MATLAB Answers

How to plot Design Structure Matrix?

18 ビュー (過去 30 日間)
Hau Kit Yong
Hau Kit Yong 2019 年 9 月 20 日
Commented: Mohamed ALI ben Aissa 2020 年 1 月 14 日 16:28
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 日 16:28
Please, how to create Design strcuture Matrix in matlab and how to do clustering
Thank's for advance

サインイン to comment.

件の回答 (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!

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。

タグ


Translated by