
Average color of part (a)
sum(sum(A))/100/100
ans(:,:,1) = 1
ans(:,:,2) = 0.5050
ans(:,:,3) = 0
------------------------
B=ones(100);
B(:,:,1)=1*ones(100);
B(:,:,2)=0.5050*ones(100);
B(:,:,3)=zeros(100);
imshow (B)
Mathematics is the mother of all sciences.
1 comment:
I really want to see what the picture is and what the average color is and how they relate.
Post a Comment