<< Chapter < Page | Chapter >> Page > |
Mimicking the code in
speccos.m
with the sampling
interval
Ts=1/100
, find the spectrum of
a cosine wave
when
f=30, 40, 49, 50, 51, 60
Hz.
Which of these show aliasing?
Create a cosine wave with frequency 50 Hz.
Plot the spectrum when this wave is sampled at
Ts=1/50, 1/90, 1/100, 1/110
, and
1/200
.
Which of these show aliasing?
Mimic the code in
speccos.m
with sampling interval
Ts=1/100
to find the spectrum of a square wave
with fundamental
f=10, 20, 30, 33, 43
Hz.
Can you predict where the spikes will occur in each case?Which of the square waves show aliasing?
Linear systems To be accurate, these systems must be exponentially stable and time invariant. such as filters cannot add new frequencies to a signal, though they can remove unwanted frequencies.Nonlinearities such as squaring and quantizing can and will add new frequencies. These can be usefulin the communication system in a variety of ways.
Perhaps the simplest (memoryless) nonlinearity is the square, which takes its input at each time instant and multiplies itby itself. Suppose the input is a sinusoid at frequency , that is, . Then the output is the sinusoid squared, which can be rewritten using the cosine-cosine product [link] as
The spectrum of has a spike at 0 Hz due to the constant, and a spike at Hz from the double frequency term. Unfortunately, the action of a squaring elementis not always as simple as this example might suggest. The following exercises encourage you to explore thekinds of changes that occur in the spectra when using a variety of simple nonlinear elements.
Mimic the code in
speccos.m
with
Ts=1/1000
to find the
spectrum of the output
of a squaring block when the input is
filternoise.m
.TRUE or FALSE: The bandwidth of cannot be greater than that of . Explain.
Try different values of and in [link] . Can you predict what frequencies will occur in the output.When is aliasing an issue?
Repeat Exercise [link] when the input is a sum of three sinusoids.
Suppose that the output of a nonlinear block is the rectification (absolute value) of the input . Find the spectrum of the output when the input is
Suppose that the output of a nonlinear block is , where
is a quantizer that outputs positive one when the input is positive and outputs minus one when the input is negative.Find the spectrum of the output when the input is
Notification Switch
Would you like to follow the 'Software receiver design' conversation and receive update notifications?