How can I make this image? The matrix size is 16 by 16 and the whole image is 256 by 256.
1 view (last 30 days)
Show older comments
one
zeros
Accepted Answer
Image Analyst
on 14 Dec 2021
img = eye(16)+fliplr(eye(16))
Then use imresize() with the 'nearest' option.
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!