So I'm used to DFT being on an equation like this:
x(n) = cos(n), ∀n , with window n = 0,1,2
I can clearly plot discrete values and take a DFT to find Xk
But I found this equation on a past exam that's like this
x(n) = δ(n+2) +δ(n+1)−δ(n−1) with window of length 5.
This appears to be an impulse response to me, and I don't understand how one would take a DFT of it?