How to plot Design Structure Matrix?
9 次查看(过去 30 天)
显示 更早的评论
How can I plot a Design Structure Matrix (DSM) in MATLAB?
Here is an example DSM:
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
2020-1-14
Please, how to create Design strcuture Matrix in matlab and how to do clustering
Thank's for advance
回答(1 个)
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!