How can I make this image? The matrix size is 16 by 16 and the whole image is 256 by 256.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Kiha Kim
am 14 Dez. 2021
Kommentiert: Kiha Kim
am 14 Dez. 2021
one
zeros
Akzeptierte Antwort
Image Analyst
am 14 Dez. 2021
img = eye(16)+fliplr(eye(16))
Then use imresize() with the 'nearest' option.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!