s2004a1 - mplexed(in proj_1.mat gai n 1 signal analog 8 ant...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
mplexed (in proj_1.mat ) signal 1 8 signal 3 8 signal 2 8 gain analog anti-alias filter digital filters A/D converter analog signal Equation Chapter 1 Section 1Des igning and Using I IR Filters Overview This project is intended to give you practice using M ATLAB to design and use IIR filters. Particular emphasis will be given to the use of IIR filters in decimation, and to the sensitivity of filter characteristics to quantization of the coefficients. Notes on using M ATLAB For your M ATLAB coding, because it may take a few iterations to get each part right, and because some filters used in one section of the project are then reused in the next section, we strongly suggest that you write your code in function form and save it as .m files. For help on writing functions, type help function , or see the Mathworks web site support section for documentation on M ATLAB ; similarly for all M ATLAB commands. To pull up the color coded editor with a debugger, type edit . If you are curious to see the code for M ATLAB commands, type edit command . You can read the code for everything except the built-in functions. The main commands used in this lab are listed in the following table. Task(s) M ATLAB statements or functions Working with files and variables pwd, cd, ls, load, who Math constants j, pi Making some basic signal vectors zeros(), ones() Basic math and vector operations exp(), sum(), abs(), log10(), transpose(), length() Polynomial operations roots(), poly(), conv() (see note below) Changing the rate of a signal decimate(), upsample(), interp() Making IIR filters butter(), cheby1(), cheby2(), ellip() Ch. 7 S2004a1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
firpm(), fir1() Windows boxcar(), kaiser() Quantizing coefficients digitize() (see note below) Analyzing filter characteristics freqz(), grpdelay() Applying a filter to data conv(), filter() Graphics and sound plot(), subplot(), zplane(), stem(), sound(), soundsc() Labeling and adjusting plots title(), xlabel(), ylabel(), xlim(), ylim() The digitize() function is included in the project zip file. To access the zip file, click on the link below where you found this file on the web site. You can use digitize () for quantizing coefficients in filter structures, and as an example for writing your own functions in M ATLAB . The project zip file also contains a file called proj_one.mat which contains signals that you will use throughout the project. The signals in the file, and the sections of the project where they are used, are listed in the following table. Signal Section of Project I distorted Using IIR Filters mplexed Decimation Using I IR Filters You wish to recover an original signal from a distorted one. The original signal was passed through a filter with a real causal impulse response. The filter's pole-zero diagram is shown below. Ch. 7
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 9

s2004a1 - mplexed(in proj_1.mat gai n 1 signal analog 8 ant...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online