<< Chapter < Page Chapter >> Page >

Questions and comments

Questions or comments concerning this laboratory should be directedto Prof. Charles A. Bouman, School of Electrical and Computer Engineering, Purdue University, West Lafayette IN 47907;(765) 494-0340; bouman@ecn.purdue.edu

Introduction

In this experiment,we will use Fourier series and Fourier transforms to analyze continuous-time and discrete-time signals and systems.The Fourier representations of signals involve the decomposition of the signal in terms of complex exponential functions.These decompositions are very important in the analysis of linear time-invariant (LTI) systems, due to the property that theresponse of an LTI system to a complex exponential input is a complex exponentialof the same frequency! Only the amplitude and phase of the input signal are changed.Therefore, studying the frequency response of an LTI system gives complete insight into its behavior.

In this experiment and others to follow, we will use the Simulink extension to Matlab.Simulink is an icon-driven dynamic simulation package that allows the user to represent a systemor a process by a block diagram. Once the representation is completed,Simulink may be used to digitally simulate the behavior of the continuous or discrete-time system.Simulink inputs can be Matlab variables from the workspace, or waveforms or sequences generated by Simulink itself.These Simulink-generated inputs can represent continuous-time or discrete-time sources.The behavior of the simulated system can be monitored using Simulink's version of common lab instruments, such as scopes, spectrum analyzers andnetwork analyzers.

Background exercises

Submit these background exercises with the lab report.

Synthesis of periodic signals

Each signal given below represents one period of a periodic signal with period T 0 .

  1. Period T 0 = 2 . For t [ 0 , 2 ] :
    s ( t ) = rect ( t - 1 2 )
  2. Period T 0 = 1 . For t [ - 1 2 , 1 2 ] :
    s ( t ) = r e c t ( 2 t ) - 1 2
For each of these two signals, do the following:

  • Compute the Fourier series expansion in the form
    s ( t ) = a 0 + k = 1 A k sin ( 2 π k f 0 t + θ k )
    where f 0 = 1 / T 0  .
    You may want to use one of the following references: Sec. 4.1 of ``Digital Signal Processing'', by Proakis and Manolakis, 1996;Sec. 4.2 of ``Signals and Systems'', by Oppenheim and Willsky, 1983; Sec. 3.3 of ``Signals and Systems'', Oppenheim and Willsky, 1997.Note that in the expression above, the function in the summation is sin ( 2 π k f 0 t + θ k ) , rather than a complex sinusoid. The formulas in the above referencesmust be modified to accommodate this. You can compute the cos/sinversion of the Fourier series, then convert the coefficients.
  • Sketch the signal on the interval [ 0 , T 0 ] .

Magnitude and phase of discrete-time systems

For the discrete-time system described by the following difference equation,

y ( n ) = 0 . 9 y ( n - 1 ) + 0 . 3 x ( n ) + 0 . 24 x ( n - 1 )
  • Compute the impulse response.
  • Draw a system diagram.
  • Take the Z-transform of the difference equation using the linearity and the time shifting properties of the Z-transform.
  • Find the transfer function, defined as
    H ( z ) Y ( z ) X ( z )
  • Use Matlab to compute and plot the magnitude and phase responses, | H ( e j ω ) | and H ( e j ω ) , for - π < ω < π    . You may use Matlab commands phase and abs .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask