In [6]:
x = arange(-50,50,0.01)
a, b, c = 300., 1200., 10.
S = sinc(x-a)+((exp(1j*x*c))*sinc(x-b))
plot(x,real(S))
plt.xlim(0,40)
figure()
u = sinc(x)
v = sinc(3*x)
w = convolve(u,v, 'same')
plot(x,u)
plot(x,v)
plot(x,w)
plt.xlim(-10,10)
Out[6]:
In [ ]: