How can I make this image? The matrix size is 16 by 16 and the whole image is 256 by 256.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Kiha Kim
el 14 de Dic. de 2021
Comentada: Kiha Kim
el 14 de Dic. de 2021
one
zeros
3 comentarios
Walter Roberson
el 14 de Dic. de 2021
blkdiag(ones(4,4),ones(4,4),ones(4,4),ones(4,4))
Respuesta aceptada
Image Analyst
el 14 de Dic. de 2021
img = eye(16)+fliplr(eye(16))
Then use imresize() with the 'nearest' option.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!