when I have two array x1, x2 and I write this code :
n=len(x1)
p=len(x2)
S=convolve1d(x1,x2,mode=‘constant’)
mathematically S is equal to what using x1,x2,n,p ?
and thank you
CodePudding user response:
Have you read about convolution? Formula is in Discrete convolution
part.
It's rather complex thing...
In layman's term it might be considered as moving weighted average when one array (weights) slides along another.