7xuipp PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Computation 

of convolution sum

x=input(x[n])
h=input(h[n])

m=length(x)

n=length(h)

X=([x,zeros(1,n)])
H=([h,zeros(1,m)])

i=1

i<=n+m-1

 True 

Y(i)=0

j=1

j<=m-1

 True   False 

i-j+1>0 i++

 True 

 False  Y(i)=Y(i)+X(j)H(i-j+1)

j++

You might also like