From: M Paheerathan on
Dear Friends,

I have a confusion
C=[0.2989 0.5870 0.1140]'
I=imread(image);

grayA1 = rgb2gray(im2double(I));
grayA2 = imlincomb(C(1),I(:,:,1),...
C(2),I(:,:,2),...
C(3),I(:,:,3),'double');

figure(1);imshow(grayA1);
figure(2);imshow(grayA2);


What is the difference between both Why grayA1 and grayA2 differs?