Plot pixels from 2D boolean array
Ältere Kommentare anzeigen
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?
1 Kommentar
Radhika Kulkarni
am 30 Nov. 2019
Akzeptierte Antwort
Weitere Antworten (2)
Radhika Kulkarni
am 30 Nov. 2019
0 Stimmen
1 Kommentar
Stephan
am 30 Nov. 2019
On File Exchange there are also tools to create gif animations. Maybe you want to use this.
Radhika Kulkarni
am 2 Dez. 2019
0 Stimmen
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!