Hi Andreas,
The instruction has a scale after the multiplication is done of 13 bits, and another after the adding is done of 4 bits.
So if you run
a = [0,1,2,3,4,5,6,7]*2^17;
c = [1,1,1,1,1,1,1,1];
M_Op = complex(a, 0)
M_Coeff = complex(c, 0)
no_of_taps = 8;
shft_val = 0;
M_Out = scp_mex(M_Coeff, M_Op, no_of_taps, shft_val)
you will get
M_Out = 28.0000 + 0.0000i
Best regards,
Iulian