<< Chapter < Page Chapter >> Page >
The module provides a review of the background concepts needed for the study of analog and digital communications: the Fourier transform, various definitions of bandwith, the Dirac delta, frequency-domain representation of sinusoids, frequency-domain plotting in Matlab, linear time invariant (LTI) systems, linear filtering, lowpass filters, and Matlab design of lowpass filters.

Fourier transform (ft)

Definition:

W ( f ) = - w ( t ) e - j 2 π f t d t = F { w ( t ) } w ( t ) = - W ( f ) e j 2 π f t d f = F - 1 { W ( f ) } .

Properties:

  • Linearity: F { c 1 w 1 ( t ) + c 2 w 2 ( t ) } = c 1 W 1 ( f ) + c 2 W 2 ( f ) .
  • Real-valued w ( t ) { conjugate symmetric W ( f ) | W ( f ) | symmetric around f = 0 .

“bandwidth”

This figure consists of two graphs. The first is labeled bandpass signal, with horizontal axis f and vertical axis |W(f)|. In the graph, there are two identical curves that begin at the horizontal axis, peak with a flat, horizontal section, and symmetrically decrease and end at the horizontal axis. The first is unlabeled, and is located in the second quadrant. The second is in the first quadrant. its height is measured 1 and 0 dB. A horizontal line across this curve about is also labeled 1/√2 and -3 dB. Below this line are three widths measured inside the curve. The narrowest width measures from the intersection points of the -3 dB, and is labeled 1/2 power BW. Below this is a wider width, labeled 99%-power BW. Below this is a final width, the width between the curve's two intersections with the horizontal axis, and this width is labeled absolute BW. The second graph is labeled lowpass signal. It is similarly labeled, with the same axes and curve as in bandpass signal. This curve, however, is centered at the middle of the horizontal axis. The width at the base is labeled double-sided BW. Half of this width is measured above as single-sided BW. This figure consists of two graphs. The first is labeled bandpass signal, with horizontal axis f and vertical axis |W(f)|. In the graph, there are two identical curves that begin at the horizontal axis, peak with a flat, horizontal section, and symmetrically decrease and end at the horizontal axis. The first is unlabeled, and is located in the second quadrant. The second is in the first quadrant. its height is measured 1 and 0 dB. A horizontal line across this curve about is also labeled 1/√2 and -3 dB. Below this line are three widths measured inside the curve. The narrowest width measures from the intersection points of the -3 dB, and is labeled 1/2 power BW. Below this is a wider width, labeled 99%-power BW. Below this is a final width, the width between the curve's two intersections with the horizontal axis, and this width is labeled absolute BW. The second graph is labeled lowpass signal. It is similarly labeled, with the same axes and curve as in bandpass signal. This curve, however, is centered at the middle of the horizontal axis. The width at the base is labeled double-sided BW. Half of this width is measured above as single-sided BW.

Dirac delta (or “continuous impulse”) δ ( · )

An infinitely tall and thin waveform with unit area :

This figure contains four graphs, each with a curve that begins on the horizontal axis, increases to a peak and then decreases back to the horizontal axis, from left to right, the four graphs change in shape, increasing in amplitude and decreasing in wavelength. After the third graph, there is an arrow pointing to the right, labeled limit, that points at the fourth graph, where the curve is indistinguishable from the vertical axis. The fourth graph is labeled δ(t). This figure contains four graphs, each with a curve that begins on the horizontal axis, increases to a peak and then decreases back to the horizontal axis, from left to right, the four graphs change in shape, increasing in amplitude and decreasing in wavelength. After the third graph, there is an arrow pointing to the right, labeled limit, that points at the fourth graph, where the curve is indistinguishable from the vertical axis. The fourth graph is labeled δ(t).

that's often used to “kick” a system and see how it responds.

    Key properties:

  1. Sifting: - w ( t ) δ ( t - q ) d t = w ( q ) .
  2. Time-domain impulse δ ( t ) has a flat spectrum:
    F { δ ( t ) } = - δ ( t ) e - j 2 π f t d t = 1 (for all f ) .
  3. Freq-domain impulse δ ( f ) corresponds to a DC waveform:
    F - 1 { δ ( f ) } = - δ ( f ) e j 2 π f t d f = 1 (for all t ) .

Frequency-domain representation of sinusoids

Notice from the sifting property that

F - 1 { δ ( f - f o ) } = - δ ( f - f o ) e j 2 π f t d f = e j 2 π f o t .

Thus, Euler's equations

cos ( 2 π f o t ) = 1 2 e j 2 π f o t + 1 2 e - j 2 π f o t sin ( 2 π f o t ) = 1 2 j e j 2 π f o t - 1 2 j e - j 2 π f o t

and the Fourier transform pair e j 2 π f o t δ ( f - f o ) imply that

F { cos ( 2 π f o t ) } = 1 2 δ ( f - f o ) + 1 2 δ ( f + f o ) F { sin ( 2 π f o t ) } = 1 2 j δ ( f - f o ) - 1 2 j δ ( f + f o ) .

Often we draw this as

This is a graph with vertical axis f and horizontal axis labeled |F{cos(2πf_0t)}| = |F{sin(2πf_0t)}|. The graph consists of two identical arrows pointing up, with their base attached to the horizontal axis. Their height is measured as 1/2, and their horizontal position is labeled -f_0 on the left and f_0 on the right. This is a graph with vertical axis f and horizontal axis labeled |F{cos(2πf_0t)}| = |F{sin(2πf_0t)}|. The graph consists of two identical arrows pointing up, with their base attached to the horizontal axis. Their height is measured as 1/2, and their horizontal position is labeled -f_0 on the left and f_0 on the right.

Frequency domain via matlab

Fourier transform requires evaluation of an integral. What do we do if we can't define/solve the integral?

  1. Generate (rate- 1 T s ) sampled signal in MATLAB.
  2. Plot magnitude of Discrete Fourier Transform (DFT) using plottf.m (from course webpage).

Square-wave example:

f = 10; t_max = 2;Ts = 1/1000; t = 0:Ts:t_max;x = sign(cos(2*pi*f*t)); plottf(x,Ts); This figure contains two graphs, the first plotting time on the horizontal axis against amplitude on the vertical axis. The horizontal values range from 0 to 2 in increments of 0.2 and the vertical axis values range from -1 to 1 in increments of 0.5. The graph consists of a series of near-vertical, nonlinear blue lines, with one occurring approximately every 0.05 units of time. The second graph plots frequency on the horizontal axis and magnitude on the vertical axis. The horizontal axis ranges from -500 to 500 in increments of 100. The vertical axis ranges in value from 0 to 1.4 in increments of 0.2. This graph consists of a vertical line every 25 units of frequency. The height of these lines starts out very small, then increases to a peak at (0, 1.4), and then symmetrically decreases out to the far right of the graph. The increases and decreases are very gradual until within 100 horizontal units of the peak, where they sharply increase. This figure contains two graphs, the first plotting time on the horizontal axis against amplitude on the vertical axis. The horizontal values range from 0 to 2 in increments of 0.2 and the vertical axis values range from -1 to 1 in increments of 0.5. The graph consists of a series of near-vertical, nonlinear blue lines, with one occurring approximately every 0.05 units of time. The second graph plots frequency on the horizontal axis and magnitude on the vertical axis. The horizontal axis ranges from -500 to 500 in increments of 100. The vertical axis ranges in value from 0 to 1.4 in increments of 0.2. This graph consists of a vertical line every 25 units of frequency. The height of these lines starts out very small, then increases to a peak at (0, 1.4), and then symmetrically decreases out to the far right of the graph. The increases and decreases are very gradual until within 100 horizontal units of the peak, where they sharply increase.

Noise-wave example

t_max = 1; Ts = 1/1000;x = randn(1,t_max/Ts); plottf(x,Ts); This figure consists of two graphs. The first plots a horizontal axis labeled time, and vertical axis labeled amplitude. The horizontal axis changes in value from 0 to 1 in increments of 0.1. The vertical axis changes in value from -3 to 3 in increments of 1. This graph is a series of waves of varying amplitudes, a large amount of noise and randomness. The second graph plots frequency against magnitude. Frequency ranges from -500 to 500 in increments of 100, and magnitude ranges from 0 to 0.08 in increments of 0.02. The second graph is very similar in shape to the first graph, with a large amount of noise and randomness in a series of waves. This figure consists of two graphs. The first plots a horizontal axis labeled time, and vertical axis labeled amplitude. The horizontal axis changes in value from 0 to 1 in increments of 0.1. The vertical axis changes in value from -3 to 3 in increments of 1. This graph is a series of waves of varying amplitudes, a large amount of noise and randomness. The second graph plots frequency against magnitude. Frequency ranges from -500 to 500 in increments of 100, and magnitude ranges from 0 to 0.08 in increments of 0.02. The second graph is very similar in shape to the first graph, with a large amount of noise and randomness in a series of waves.

Notice that plottf.m only plots frequencies f [ - 1 2 T s , 1 2 T s ) .

Linear time-invariant (lti) systems

An LTI system can be described by either its “impulse response” h ( t ) or its “frequency response” H ( f ) = F { h ( t ) } .

This figure consists of two flowcharts. The first begins with the title, in time domain. After this another title to the right, labeled impulse δ(t). To the right of this is an arrow pointing to the right at a box labeled LTI System. To the right of this is an arrow pointing to the right at the label h(t) impulse response. The second flowchart begins with the label, in frequency domain. To the right of this is the label flat spectrum, 1. To the right of this is an arrow pointing to the right at a box labeled LTI system. To the right of this is an arrow pointing to the right at the label H(f) frequency response. This figure consists of two flowcharts. The first begins with the title, in time domain. After this another title to the right, labeled impulse δ(t). To the right of this is an arrow pointing to the right at a box labeled LTI System. To the right of this is an arrow pointing to the right at the label h(t) impulse response. The second flowchart begins with the label, in frequency domain. To the right of this is the label flat spectrum, 1. To the right of this is an arrow pointing to the right at a box labeled LTI system. To the right of this is an arrow pointing to the right at the label H(f) frequency response.

    Input/output relationships:

  • Time-domain: Convolution with impulse response h ( t )
    This figure contains a small flowchart and a large equation. First is a flowchart, showing movement from x(t), to a boxed h(t), to y(t). The equation reads y(t) = h(t) * x(t) = the integral from negative infinity to infinity of h(t - τ)x(τ)dτ. This figure contains a small flowchart and a large equation. First is a flowchart, showing movement from x(t), to a boxed h(t), to y(t). The equation reads y(t) = h(t) * x(t) = the integral from negative infinity to infinity of h(t - τ)x(τ)dτ.
  • Freq-domain: Multiplication with freq response H ( f )
    This figure contains a flowchart and an equation. The flowchart shows movement from X(f) to the boxed H(f) to Y(f). The equation reads Y(f) = H(f)X(f). This figure contains a flowchart and an equation. The flowchart shows movement from X(f) to the boxed H(f) to Y(f). The equation reads Y(f) = H(f)X(f).

Linear filtering

Freq-domain illustration of LPF, BPF, and HPF:

This figure contains one large equation, with multiple graphs underneath each expression in the equation. The equation reads X(f) time H(f) = Y(f). Below X(f) are three graphs. Each graph plots a horizontal axis, f, and contains a curve with several small waves along the curve. Below H(f) are three graphs, each plotting f on the horizontal axis. The graph on top plots a vertical axis LPF, the graph below it plots a vertical axis BPF, and the graph below it plots a vertical axis HPF. The top graph contains one box centered in the middle of the horizontal axis with its base on the horizontal axis. The graph below it contains two boxes, one in the second quadrant and one in the first quadrant. The bottom graph contains two incomplete boxes, one in the second and one in the first quadrant. Below Y(f) are three final graphs. The graphs plot horizontal axes as f. The top graph contains a wave similar to the graphs under X(f), coupled with two vertical lines at the same places that the box in H(f) touches the horizontal axis. The lower two graphs show this box splitting into two boxes, then extending off the page as incomplete figures. This figure contains one large equation, with multiple graphs underneath each expression in the equation. The equation reads X(f) time H(f) = Y(f). Below X(f) are three graphs. Each graph plots a horizontal axis, f, and contains a curve with several small waves along the curve. Below H(f) are three graphs, each plotting f on the horizontal axis. The graph on top plots a vertical axis LPF, the graph below it plots a vertical axis BPF, and the graph below it plots a vertical axis HPF. The top graph contains one box centered in the middle of the horizontal axis with its base on the horizontal axis. The graph below it contains two boxes, one in the second quadrant and one in the first quadrant. The bottom graph contains two incomplete boxes, one in the second and one in the first quadrant. Below Y(f) are three final graphs. The graphs plot horizontal axes as f. The top graph contains a wave similar to the graphs under X(f), coupled with two vertical lines at the same places that the box in H(f) touches the horizontal axis. The lower two graphs show this box splitting into two boxes, then extending off the page as incomplete figures.

Lowpass filters

Ideal non-causal LPF (using sinc ( x ) : = sin ( π x ) π x ):

This figure contains two graphs and one equation. The equation reads H(f) = 1, if |f| less than or equal to B, and 0 if |f| greater than B, then an arrow pointing in both directions, labeled F. To the right of the arrow is the equation h(t) = 2Bsinc(2Bt). The first graph plots a horizontal axis f and vertical axis H(f). The graph contains a rectangle, with its base on the horizontal axis from -B to B, with a height of 1. The second graph plots a horizontal axis t and vertical axis h(t). There is a wave on this graph, with one large peak in the middle reaching 2B while on the vertical axis. The peak decreases to cross the horizontal axis at -1/2B and 1/2B. Below this are two smaller troughs, then a rise back to the horizontal axis at -1/B and 1/B. This figure contains two graphs and one equation. The equation reads H(f) = 1, if |f| less than or equal to B, and 0 if |f| greater than B, then an arrow pointing in both directions, labeled F. To the right of the arrow is the equation h(t) = 2Bsinc(2Bt). The first graph plots a horizontal axis f and vertical axis H(f). The graph contains a rectangle, with its base on the horizontal axis from -B to B, with a height of 1. The second graph plots a horizontal axis t and vertical axis h(t). There is a wave on this graph, with one large peak in the middle reaching 2B while on the vertical axis. The peak decreases to cross the horizontal axis at -1/2B and 1/2B. Below this are two smaller troughs, then a rise back to the horizontal axis at -1/B and 1/B.

Ideal LPF with group-delay t o :

This figure contains two graphs and one equation. The equation reads H(f) = e^-j2πft_0, if |f| less than or equal to B, and 0 if |f| greater than B, then an arrow pointing in both directions, labeled F. To the right of the arrow is the equation h(t) = 2Bsinc(2B(t - t_0)). The first graph plots a horizontal axis f and vertical axis H(f). The graph contains a rectangle, with its base on the horizontal axis from -B to B, with a height of 1. The second graph plots a horizontal axis t and vertical axis h(t). There is a wave on this graph, with one large peak in the middle reaching 2B, at a horizontal value t_0. The peak decreases to a smaller wave, and the width of half of the wave is 1/2B. This figure contains two graphs and one equation. The equation reads H(f) = e^-j2πft_0, if |f| less than or equal to B, and 0 if |f| greater than B, then an arrow pointing in both directions, labeled F. To the right of the arrow is the equation h(t) = 2Bsinc(2B(t - t_0)). The first graph plots a horizontal axis f and vertical axis H(f). The graph contains a rectangle, with its base on the horizontal axis from -B to B, with a height of 1. The second graph plots a horizontal axis t and vertical axis h(t). There is a wave on this graph, with one large peak in the middle reaching 2B, at a horizontal value t_0. The peak decreases to a smaller wave, and the width of half of the wave is 1/2B.

A causal linear-phase LPF with group-delay t o :

This figure contains two graphs. The first plots f on the horizontal axis against |H(f)|. This graph consists of a wavering curve that floats along the horizontal axis until horizontal axis -B, where the wavering graph increases sharply to a flat peak from -B to B, where it then decreases back down to the horizontal axis and floats across to the edge of the graph on the right. The second graph plots t on the horizontal axis and h(t) on the vertical axis. It consists of two small troughs and one large peak in a continuous wave. The height of the peak is 2B, and the peak is centered at horizontal value t_0. The trough to the right of the peak ends at horizontal value 2t_0. The width of the troughs are 1/2B. The entire wave is bracketed symmetry around center yields linear phase. This figure contains two graphs. The first plots f on the horizontal axis against |H(f)|. This graph consists of a wavering curve that floats along the horizontal axis until horizontal axis -B, where the wavering graph increases sharply to a flat peak from -B to B, where it then decreases back down to the horizontal axis and floats across to the edge of the graph on the right. The second graph plots t on the horizontal axis and h(t) on the vertical axis. It consists of two small troughs and one large peak in a continuous wave. The height of the peak is 2B, and the peak is centered at horizontal value t_0. The trough to the right of the peak ends at horizontal value 2t_0. The width of the troughs are 1/2B. The entire wave is bracketed symmetry around center yields linear phase.

but MATLAB can give better causal linear-phase LPFs...

In MATLAB, generate 1 T s -sampled LPF impulse response via

h = firls(Lf, [0,fp,fs,1], [G,G,0,0])/Ts;

where...

This figure contains one graph and a series of labels. The graph plots two horizontal lines. The first is shorter, at vertical value G. It ends at horizontal value fp. The second is longer, at vertical value 0. It begins at horizontal value fs and ends at horizontal value 1. The horizontal axis is labeled f/[/(2T_S)]. To the right of this graph are three expressions. The first reads Lf + 1 = impulse response length. The second reads {0, fp}, {fs, 1} = normalized freq pairs. The third reads {G, G}, {0, 0} = corresp. magnitude pairs. This figure contains one graph and a series of labels. The graph plots two horizontal lines. The first is shorter, at vertical value G. It ends at horizontal value fp. The second is longer, at vertical value 0. It begins at horizontal value fs and ends at horizontal value 1. The horizontal axis is labeled f/[/(2T_S)]. To the right of this graph are three expressions. The first reads Lf + 1 = impulse response length. The second reads {0, fp}, {fs, 1} = normalized freq pairs. The third reads {G, G}, {0, 0} = corresp. magnitude pairs.

The commands firpm and fir2 have the same interface, but yield slightly different results (often worse for our apps).

In MATLAB, perform filtering on 1 T s -sampled signal x via

y = Ts*filter(h,1,x);   or   y = Ts*conv(h,x);

t_max = 3; Ts = 1/1000; x = randn(1,t_max/Ts);h = firls(100,[0,0.2,0.4,1],[1,1,0,0])/Ts; y = Ts*filter(h,1,x);subplot(3,1,1); plottf(x,Ts,’f’);ylabel(’|X(f)|’) subplot(3,1,2);plottf(h,Ts,’f’); ylabel(’|H(f)|’)subplot(3,1,3); plottf(y,Ts,’f’);ylabel(’|Y(f)|’) This figure contains three graphs. The first plots frequency on the horizontal axis and |X(f)| on the vertical axis. The horizontal axis ranges in value from -500 to 500 in increments of 100. The vertical axis ranges in value from 0 to 0.2 in increments of 0.05. The graph is a series of noisy waves of varying amplitudes, hovering around a vertical value of 0.05. The second graph plots frequency against |H(f)|. The horizontal values are the same as the first graph, and the vertical values range from 0 to 1.5 in increments of 0.5. The graph is one single curve that stays flat along the horizontal axis until (-200, 0), where the graph begins sharply increasing to a flat peak from (-125, 1) to (125, 1). The graph then symmetrically decreases to (200, 0), where it then continues along the horizontal axis to the edge of the page. The third graph has the same horizontal axis, this time with a vertical axis of |Y(f)|, from 0 to 0.2 in increments of 0.05. The graph continues along the horizontal axis till (-200, 0), where it then increases in a noisy wavering pattern of varying amplitude, until it then decreases back to the horizontal axis by (200, 0). This figure contains three graphs. The first plots frequency on the horizontal axis and |X(f)| on the vertical axis. The horizontal axis ranges in value from -500 to 500 in increments of 100. The vertical axis ranges in value from 0 to 0.2 in increments of 0.05. The graph is a series of noisy waves of varying amplitudes, hovering around a vertical value of 0.05. The second graph plots frequency against |H(f)|. The horizontal values are the same as the first graph, and the vertical values range from 0 to 1.5 in increments of 0.5. The graph is one single curve that stays flat along the horizontal axis until (-200, 0), where the graph begins sharply increasing to a flat peak from (-125, 1) to (125, 1). The graph then symmetrically decreases to (200, 0), where it then continues along the horizontal axis to the edge of the page. The third graph has the same horizontal axis, this time with a vertical axis of |Y(f)|, from 0 to 0.2 in increments of 0.05. The graph continues along the horizontal axis till (-200, 0), where it then increases in a noisy wavering pattern of varying amplitude, until it then decreases back to the horizontal axis by (200, 0).
The routines firls,firpm,fir2 generate causal linear-phase filters with group delay = Lf 2 samples. Thus, the filtered output y will be delayed by Lf 2 samples relative to x .

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to analog and digital communications. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10968/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to analog and digital communications' conversation and receive update notifications?

Ask