A discrete signal with N+1 samples equivalent to 1 from the 0th to the Nth sample.

1. Calculate the spectrum S(w) (or S(f)) of the discrete signal.

2. Give the module of S(w) (or S(f)).

3. Draw the amplitude spectrum of the discrete signal.

N.B. : We suppose the sampling frequency is equal to 1.