Sorry for my bad english. I need to plot periodic function from dirac delta: δT(t)=∑δ(t–n*T), where T - is a constant, and n=-20..20 And after them, plot new function fd=f(t)*δT(t) - discrete signal of signal f(t)
I tried to solve it:
betta[t_] := Piecewise[{{1, t == 0}}]
bettaT[t_] := Sum[betta[t - n*T], {n, -20, 20}]
Plot[bettaT[t], {t, -10, 10}]
but graphic is always on 0 level. I suspect that it is precision of the comparison t==0, but a don't know how to solve it right