How can I make this image? The matrix size is 16 by 16 and the whole image is 256 by 256.
1 次查看(过去 30 天)
显示 更早的评论
one
zeros
采纳的回答
Image Analyst
2021-12-14
img = eye(16)+fliplr(eye(16))
Then use imresize() with the 'nearest' option.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!