Wednesday, June 4, 2008

Q#16


Q#16 Display the YM face of the colour cube


Octave command are
YM(:,:,1)=ones(256);
YM(:,:,2)=[ones(256,1)*[0:1:255]/255];
YM(:,:,3)=[ones(256,1)*[255:-1:0]/255]';
Imshow(YM);

No comments: