12
The Discrete Sinusoid
obtain that waveform. If the shifting is to the right we define the phase
shift to be negative and a shift to the left is positive. For example, the sine
waveform has a -90 degrees or
—
| radians phase shift since we have to shift
the cosine wave to the right by that amount to get the sine wave. What is
called a sinusoid is a cosine or sine wave with arbitrary phase shift. The
cosine and sine waveforms are important special cases of the sinusoid with
phase shifts of zero and -90 degrees, respectively.
The polar form
A discrete sinusoidal waveform is mathematically characterized as
x(n) = Acos(u>n + 0), n = -co,..
.,—1,0,1,..
.,oo (2.1)
where A is the amplitude (half the peak-to-peak length),
cu
is the angular
frequency of oscillation in radians per sample, and 9 is the phase shift
in radians. The cyclic frequency of oscillation / is ^ cycles per sample.
The period N is 4 samples (The period of a discrete sinusoidal waveform
is j only when \ is an integer. We will consider the more general case
later.).
For the waveform shown in Fig. 2.1(c), the amplitude is 1, the
phase shift is 0 (that is the positive peak of the waveform occurs at the point
n = 0), the angular frequency, u, is f^ radians per sample, and the cyclic
frequency / is ^ cycles per sample. The period is 32 samples, that is, the
waveform repeats any 32-point sequence of its sample values, at intervals of
32 samples, indefinitely, x(n) = x(n ± 32) for any n. The interval between
two samples is ^ = 11.25 degrees. Therefore, the values of the cosine and
sine functions at intervals of 11.25 degrees can be read from this figure. For
the waveform shown in Fig. 2.1(d), the amplitude is 1 and the phase shift
is
—
^ radians (shift of the cosine waveform by six samples (6/u — —6) to
the right), that is, the positive peak of the waveform occurs after f radians
from the point n = 0. The angular frequency, ui, is y^, and the cyclic
frequency / is ^ cycles per sample. The period is 24 samples, that is, the
waveform repeats any 24-point sequence of its sample values, at intervals
of 24 samples, indefinitely. The values of the sine and cosine functions at
intervals of 15 degrees can be read from this figure. A shift by an integral
number of periods does not change a sinusoid. If a sinusoid is given in terms
of a phase-shifted sine wave, then it can be, equivalently, expressed in terms
of a phase-shifted cosine wave as x (n) = Asm(un+9) = A cos(am+(#-§)).
Conversely, x(n) = Acos(um + 9) = Asm(uin + (9 + f)).