Plot pixels from 2D boolean array
古いコメントを表示
I have a 2D boolean array stored 0s and 1s where I want to plot a red pixel. For example, If the 2D boolean array has 1 for (20, 20) location, it should plot a red pixel at that location. Else, it is has 0, it should not plot the red pixel.
Can someone help me?
採用された回答
その他の回答 (2 件)
Radhika Kulkarni
2019 年 11 月 30 日
0 投票
1 件のコメント
Stephan
2019 年 11 月 30 日
On File Exchange there are also tools to create gif animations. Maybe you want to use this.
カテゴリ
ヘルプ センター および File 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!