Docsity

Digital Signal Processing Lecture Notes: Fall Semester 2006, Study notes of Digital Signal Processing

Toggle sidebar
bg1
EE275
Digital Signal Processing
Fall Semester 2006 (August, 29, 2006)
DSP Lecture 1
1 Introduction
On the CD accompanying the text
CD includes a fair amount of supplementary material to the book.
Need Acrobat Reader, Apple Quicktime Player or Microsoft Window Media Player.
To view the contents of the CD read the readme.txt. Open file indexmain.htm in a web-
page browser - index.htm lying in the media folder.
Will see Signal Demos, MATLAB Programs, Worked out examples (Additional
Examples), Review materials, Introduction to MATLAB and FAQs.
Signal Demos consists of:
Image Demo, Video Demo, Music Demo, Noise Filtering Demo and an Aliasing Demo.
MATLAB Programs consist of about 5-10 programs per chapters 2-15. Double clicking
launches MATLAB and runs the program.
Additional Examples consists of a number of solved examples for chapters 2-15.
Review material consists of some basic mathematical concepts such as, power series,
differentiation and integration, complex numbers, complex variables, CFT and DFT and
Matrix Algebra.
Introduction to MATLAB worth looking at.
FAQs interesting.
NOTE: The Speech and Music Demos in Signal Demos, and MATLAB pro-
grams above, are in sync. with the image icons of 2 CDs that occur in RH or
LH columns throughout the text. Double clicking runs the music demos and
MATLAB demos if you have MATLAB. The icons appear in the text next to
examples about that particular topic.
on MATLAB
You can get MATLAB to run on your own machine, both on campus and off-campus. You
need to be registered for a class in both cases.
1
pf3
pf4
pf5

Partial preview of the text

Download Digital Signal Processing Lecture Notes: Fall Semester 2006 and more Study notes Digital Signal Processing in PDF only on Docsity!

E E 2 7 5

Digital Signal Processing

Fall Semester 2006 (August, 29, 2006)

DSP Lecture 1

1 Introduction

On the CD accompanying the text

CD includes a fair amount of supplementary material to the book. Need Acrobat Reader, Apple Quicktime Player or Microsoft Window Media Player. To view the contents of the CD read the readme.txt. Open file indexmain.htm in a web- page browser - index.htm lying in the media folder. Will see Signal Demos, MATLAB Programs, Worked out examples (Additional Examples), Review materials, Introduction to MATLAB and FAQs. Signal Demos consists of: Image Demo, Video Demo, Music Demo, Noise Filtering Demo and an Aliasing Demo. MATLAB Programs consist of about 5-10 programs per chapters 2-15. Double clicking launches MATLAB and runs the program. Additional Examples consists of a number of solved examples for chapters 2-15. Review material consists of some basic mathematical concepts such as, power series, differentiation and integration, complex numbers, complex variables, CFT and DFT and Matrix Algebra. Introduction to MATLAB worth looking at. FAQs interesting.

NOTE: The Speech and Music Demos in Signal Demos, and MATLAB pro- grams above, are in sync. with the image icons of 2 CDs that occur in RH or LH columns throughout the text. Double clicking runs the music demos and MATLAB demos if you have MATLAB. The icons appear in the text next to examples about that particular topic.

on MATLAB You can get MATLAB to run on your own machine, both on campus and off-campus. You need to be registered for a class in both cases.

For MATLAB and for those with CEMS accouts: To get MATLAB: From UVM and with a EMBA account: Connect to Server: smb://sidney/data Find matlab and follow instructions to install on your own machine. Now you can run MATLAB anywhere on campus (no wireless). Note that under the matlab folder, there is a file ‘plp.txt’. That has a certain identification number that you need to copy; and paste when asked. For MATLAB for WINDOWS For MATLAB from off-campus or on-campus with wireless: Get a UVM NetID Account (that is , get a zoo account) by going to http://www.uvm.edu/account/ Need to get VPN to use Cats PAWS wireless network. Go to http://www.uvm.edu/software/ Logon with your zoo account. Download VPN client Now before invoking MATLAB, you need to run VPN. Once VPN is running, you can run MATLAB.

FOR MATLAB for Macs: You need to get discs. See me. You need sshd and X Window System running. See last page of this document for additional details

Signals that we encounter frequently: speech, music, picture, video. Roughly speaking, signal processing is concerned with

  1. Understanding concepts such as sampling, aliasing. frequency analysis Mathematical rep. of signals.
  2. Algorithmic Mathematical representation. “basis functions” in the domain of the original indepen- dent variable or in terms of basis functions in some other domain. Likewise, the information extraction can be in the original domain or transformed domain. The book is concerned with discrete-time representation of signals and their discrete- time processing.

Ch.1 provides an overview of signals and SP methods. Math.l char. is first discussed along with classification of signals. Typical signals and type of information carried is discussed. Review of common SP operations. Examples.

1.2.1 Simple Time-Domain Operations

Most basic : scaling, delay, addition, multiplication, integration, differentiation. More on delay In DSP we encounter time delay and group delay. Other type of delay called latency and speed of light delays.. Latency delay is a hardware type of delay and refers to the amount of time it takes a bit to be transmitted from source to destination. Speed of light delay : It takes nearly 30 ms to send a bit through a cross-country fiber-optic cable, a delay that can’t be eliminated. Delays of distance (called propagation delays) are especially critical when transmitting data to other countries (especially when you consider all the equipment along the way that adds delay). Delay is also significant with satellite transmissions. (Delays are caused by distance, errors and error recovery, congestion, the processing capabilities of systems involved in the transmission, and other factors.

1.3 Filtering

Filter - a generic term for a black box that has input-output. Example: Frequency selective, integrator, differentiator, predictor, estimator, noise re- mover, adaptive filter, etc. Filters occupy a good portion of this course: (i) FIR,IIR. (ii) ideal filter characteristics (iii)various approximations (least squares, min.max) using FIR or IIR to the ideal.

1.4 Generation of Complex Signals

Signals can be real-valued or complex-valued. Former called real signal. Latter called complex. All naturally generated signals are real. In some applications necessary to generate complex signals from a real signal, thus giving more desirable properties.

Ex. x(t) = cos(ω t) put through 90 degree phase shifter - get sin(ωt) Now form

cos(ωt) + jsin(ωt) = ejωt

Now spectrum of ejωot^ is one-sided.

What converts a cosine into a sine is the following transfer function.

HHT (jΩ) =

−j Ω > 0 +j Ω < 0.

and in the time domain

hHT (t) =

πt

So, applying it to an arbitrary signal x(t) we get y(t) and then forming

y(t) = x(t) + j ˆx(t)

gives you a so-called analytical signal. Countless applications. One of them is single side-band modulation.

MATLAB for Macs On ssh The program you need running is ’sshd’. That is the program that provides all the ssh services to outside computers. Here are instructions.

These are command line instructions, and you may have to run them as root. The user ’root’ is disabled by default. To enable root drill down in to Applications/Utilities and run ’NetInfo Manager’. The top level menu has an option ’Enable Root’. Give it a password you don’t mind me knowing, and then tell me later what it is.

sshd should be already installed as /usr/sbin/sshd, but needs ’keys’ to function.

Create keys like so: ssh keygen -b 1024 -t rsa when asked for output file use /etc/ssh host key (that is rsaONE, not rsaEL) ssh keygen -b 1024 -t rsa when asked for output file use /etc/ssh host rsa key ssh keygen -b 1024 -t dsa when asked for output file use /etc/ssh host dsa key

Then modify /etc/sshd config PermitRootLogin yes (Yes) UseLogin no (I simply uncommented this one) ServerKeyBits 1024 (you may not need this)

Fire up /usr/sbin/sshd

You may then ssh into your mac, including ssh file transfers. This will work from anywhere on campus.