In this chapter, we will introduce fourier transform for discrete signals.
Discrete Pulse Signal
Similarly, we can define discrete signal. Unlike continuous signal, where pulse signal is a limit of any distribution, discrete signal is just a sequence of 0 and 1.
δ[n]={10if n=0otherwise
Similarly, we use sum instead of integral. So,
u[t]={01if t<0if t≥0
Where,
u[t]=n=−∞∑tδ[n]
Discrete Convolution
We simply replace the integral with sum,
x[t]∗y[t]=n=−∞∑+∞x[n−t]y[n]
Discrete Calculus
Discrete calculus is not a subject that mathematicians study a lot, so there isn't a unified notation or way to do it.
There are more than one ways- wether focused on forward difference, backward difference, shifting forward, backward operator, etc. Using only one of them, we can build up a discrete calculus theory.
For simplicity and convenience, we use both backward difference and shifting backward operators to build our theory.
Operators
We note the backward shift as,
B(x[n])=x[n−1]
And difference (backward) as,
Δx[n]=x[n]−x[n−1]
It's obvious that,
Δ=1−B
The eigen function of the B is zn,
Bzn=z1zn
And so is true for difference
Δzn=zn−zn−1=(1−z1)zn
The inverse of B is,
B−1x[n]=x[n+1]
That is the moving-forward.
Obviously, they are all linear operators.
Factorial Power Sequence
There is also an important sequence, the (decrease) factorial power sequence,
xn=x⋅(x−1)⋅(x−2)⋅⋯⋅(x−n+1)
This is worthy of mentioning here since,
Δzn=zn−zn−1=n(z−1)n−1
Which corresponds to,
Dxn=nxn−1
We can factor normal power into factorial power,
zn=k=0∑n{kn}zk
{kn} is called the stirling number of the second kind.
It satisfies,
{kn}={k−1n−1}+k{kn−1}{0m}=1
You don't need to remember those- we don't dive that deep. You can just have the following common formula,
z2=z2+z1z3=z3+3z2+z1
Product Rule of Difference
Just like derivative, where,
D(uv)=uDv+vDu
We have,
Δ(x[n]y[n])=x[n]y[n]−x[n−1]y[n−1]=x[n]y[n]−x[n]y[n−1]+x[n]y[n−1]−x[n−1]y[n−1]=x[n]Δy[n]+By[n]Δx[n]
Sum
Sum corresponds to the integral.
We define,
X[n]=∑x[k]
Where,
ΔX[n]=x[n]
Thus,
X[n]=Δ−1x[n]
Likewise, adding any constant C won't change this property,
X[n]+C=∑x[n]
Please note that,
Δ1np=p+11(n+1)p+1
In addition, we also have,
X[b]−X[a]=a∑bx[n]=n=a∑bx[n]b≥a
If b<a, then we have,
a∑bx[n]=−b∑ax[n]
Just like the integral, we have the sum by partition, what we call the Abel summation.
Previous, we concluded,
Δ(x[n]y[n])=x[n]Δy[n]+By[n]Δx[n]
a∑bx[n]Δy[n]=a∑b(Δ(x[n]y[n])−By[n]Δx[n])=(x[n]y[n])∣ab−a∑bBy[n]Δx[n]
That equals to say,
∑x[n]Δy[n]=x[n]y[n]−∑By[n]Δx[n]
For example, if we want,
Y[n]=0∑nz22z
If you never learnt discrete calculus, it'd take some trick to get the result. But we can do it with brute force now,
∑z22z=∑z2(2z+1−2z)=∑z2Δ2z+1=z22z+1−∑2zΔz2=z22z+1−∑2z(2z−1)=z22z+1−∑(2z−1)Δ2z+1=2z+1(z2−2z+1)+∑2z+1=2z+1(z2−2z+3)
Thus,
Y[n]=2n+1(n2−2n+3)+CY[0]=6+C=0
So,
Y[n]=2n+1(n2−2n+3)−6
Other methods to calculate the sum includes,
Using shift-and-subtract method, that is,
Y[n]−2Y[n]=−z22z+1+1∑n(z2−(z−1)2)2zAnd repeat it. This is just using Abel summation indirectly.
Another trick is using z-transformation, a transform introduced alter. This trick equals to the method of generation function.