# Graphing amplitudes

1. Nov 19, 2013

### cutesteph

Say x(n) = n for 0 <= n < 4 and 0 o.w.

So X(W) = Sum n=-∞ to ∞ x(n) exp(-inw) = sum from n=0 to 3 nexp(-inw)
= 0 + exp(-iw) + 2exp(-j2w) + 3 exp(-j3w)

get do I get the amplitude and phase?

Also if the signal was continuous x(t) = t for the same interval

X(W)= integral 0 to 4 texp(-iwt) dy = (4exp(-i4w)/ -iw) - (exp(-iw4) -1)/w^2

How would I graph the amplitude and phase?

Last edited: Nov 19, 2013
2. Nov 19, 2013