 pict=imread('mp1f1.jpg','jpg');
 r=pict(:,:,1);
 g=pict(:,:,2);
 b=pict(:,:,3);
 subplot(1,3,1)
 image(pict);
newpict=pict;
newpict(:,:,1)=255;
newpict(:,:,2)=255;
subplot(1,3,2);
imwrite(newpict,'mp1f2b.jpg','jpg');
image(newpict);
newpict=pict;
newpict(:,:,1)=newpict(:,:,1) ./ 2;
newpict(:,:,2)=newpict(:,:,2) ./ 3;
subplot(1,3,3);
imwrite(newpict,'mp1f2c.jpg','jpg');
image(newpict);
