I am trying to multiply a hexdecimal value AA
by 2 in the galois field using the gfconv(a,b)
function of Matlab, the console returns to me an error saying: "The input elements must be binary.", but my two elements are binary
a=hexToBinaryVector('AA');
b=de2bi(2);
c=gfconv(a,b);
disp(c);
The error code:
Error using gfconv_mex
The input elements must be binary.
Error in gfconv (line 120)
c = gfconv_mex(varargin{:});
Error in test(line 3)
c=gfconv(a,b);
Any idea how to solve that?