I have used the following code but getting an error message
I1=imread('abc.gif');a=I1(1:3,1:3);b=[-3 4 5;6 -7 1;-2 -4 -6];c=a.*b;
The error message obtained is listed below Error using .* Integers can only be combined with integers of the same class, or scalar doubles.
How to clear this error
Best Answer