Display a matrix as an image with boundaries(borders) between different components
7 ビュー (過去 30 日間)
古いコメントを表示
I have a matrix like the first image that changes with each step.

To display this matrix as an image, the imagesc or other commands only displays as a color image, but I want the boundaries(borders) to be displayed automatically as well, because this matrix changes at every step, and if the borders are not detected automatically, it will be useless.


1- Please help me how I can display this matrix with its boundaaries (borders) automatically like the following images with and without color ?


0 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!