Q:

Write a script that would produce the following 50 x 50 “image” using the RGB, or true color method (NOT the colormap method)

0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch13Ex4.m

imagemat = zeros(50,50,3);

imagemat(20:40,20:40,1) = 255;

imagemat(10:30,10:30,2) = 255;

imagemat = uint8(imagemat);

image(imagemat)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now