EE - 456 / E01 spring 2003

Advanced Communications Theory

Professor: Arida

Submitted By:

Andrew Buettner

Lab #3: Filtering

Wednesday, April 23, 2003



Table Of Contents

        1) Cover Page 1

        2) Table of Contents 2

        3) Objective 4

        4) Components Used 4

        5) Procedures 4

        6) Lab Data / Results 5

          1) Diagram 1 5

          2) Diagram 2 5

          3) Diagram 3 6

          4) Diagram 4 6

          5) Diagram 5 7

          6) Diagram 6 7

          7) Diagram 7 8

          8) Table 1 8

          9) Table 2 8

          10) Diagram 8 9

          11) Diagram 9 9

          12) Diagram 10 10

          13) Diagram 11 10

          14) Diagram 12 11

          15) Diagram 13 11

          16) Diagram 14 12

          17) Diagram 15 12

          18) Diagram 16 13

          19) Diagram 17 13

          20) Table 3 14

        7 Answers to Lab Questions 14

        7) Conclusions 14


Table Of Contents (Continued)

        8) Attachments 14



      1. Original lab handout

      2. Original lab data

      3. Calculations

      4. Octave® log








GNU Octave, version 2.1.31 (i586-pc-cygwin).

Copyright (C) 1996, 1997, 1998, 1999, 2000 John W. Eaton.

This is free software with ABSOLUTELY NO WARRANTY.

For details, type `warranty'.


*** This is a development version of Octave. Development releases

*** are provided for people who want to help test, debug, and improve

*** Octave.

***

*** If you want a stable, well-tested version of Octave, you should be

*** using one of the stable releases (when this development release

*** was made, the latest stable version was 2.0.16).


octave:1> fir(1)


1 coefficients

Max = 1.000000

Scale factor = 4.000000

Scale shift = 2


float hex

b[0] = 1.0000 4000

octave:2> iir(1,1)

m = 1

b[0] = 1.000000

n = 1

a[0] = 1.000000


1 coefficients

Max = 1.000000

Scale factor = 4.000000

Scale shift = 2


float hex

b[0] = 1.0000 4000

a[0] = 1.0000 cccccccc

octave:3>

octave:3> a=[1,0,.1716];

octave:4> b=[.2929,.5858,.2929]

b =


0.29290 0.58580 0.29290


octave:5> iirp(b,a)

octave:6> iir(b,a)

m = 3

b[0] = 0.292900

b[1] = 0.585800

b[2] = 0.292900

n = 3

a[0] = 1.000000

a[1] = 0.000000

a[2] = 0.171600


3 coefficients

Max = 0.585800

Scale factor = 2.000000

Scale shift = 1


float hex

b[0] = 0.2929 257d

b[1] = 0.5858 4afb

b[2] = 0.2929 257d

a[0] = 1.0000 cccccccc

a[1] = 0.0000 0

a[2] = 0.1716 ffffea0a

octave:7> b=[.5,.5];

octave:8> firp(b)

octave:9> fir(b)


2 coefficients

Max = 0.500000

Scale factor = 2.000000

Scale shift = 1


float hex

b[0] = 0.5000 4000

b[1] = 0.5000 4000

octave:10> a=[0,1,1,0];

octave:11> f=0:3;

octave:12> f=f/3;

octave:13> f=0:7;

octave:14> f=f/7;

octave:15> a=[0,0,1,1,1,1,0,0];

octave:16> b=remez(60,f,a);

octave:17> firp(b)

octave:18> fir(b)


61 coefficients

Max = 0.572051

Scale factor = 2.000000

Scale shift = 1


float hex

b[0] = -0.0007 ffffffe9

b[1] = -0.0000 0

b[2] = 0.0001 4

b[3] = -0.0000 0

b[4] = 0.0018 3b

b[5] = 0.0000 0

b[6] = 0.0020 40

b[7] = 0.0000 0

b[8] = -0.0047 ffffff66

b[9] = -0.0000 0

b[10] = -0.0062 ffffff34

b[11] = -0.0000 0

b[12] = 0.0046 95

b[13] = -0.0000 0

b[14] = 0.0179 249

b[15] = 0.0000 0

b[16] = -0.0005 fffffff1

b[17] = 0.0000 0

b[18] = -0.0321 fffffbe5

b[19] = -0.0000 0

b[20] = -0.0216 fffffd3e

b[21] = -0.0000 0

b[22] = 0.0519 6a3

b[23] = 0.0000 0

b[24] = 0.0736 96b

b[25] = 0.0000 0

b[26] = -0.0643 fffff7c7

b[27] = 0.0000 0

b[28] = -0.3078 ffffd89a

b[29] = -0.0000 0

b[30] = 0.5721 4938

b[31] = -0.0000 0

b[32] = -0.3078 ffffd89a

b[33] = 0.0000 0

b[34] = -0.0643 fffff7c7

b[35] = 0.0000 0

b[36] = 0.0736 96b

b[37] = 0.0000 0

b[38] = 0.0519 6a3

b[39] = -0.0000 0

b[40] = -0.0216 fffffd3e

b[41] = -0.0000 0

b[42] = -0.0321 fffffbe5

b[43] = 0.0000 0

b[44] = -0.0005 fffffff1

b[45] = 0.0000 0

b[46] = 0.0179 249

b[47] = -0.0000 0

b[48] = 0.0046 95

b[49] = -0.0000 0

b[50] = -0.0062 ffffff34

b[51] = -0.0000 0

b[52] = -0.0047 ffffff66

b[53] = 0.0000 0

b[54] = 0.0020 40

b[55] = 0.0000 0

b[56] = 0.0018 3b

b[57] = -0.0000 0

b[58] = 0.0001 4

b[59] = -0.0000 0

b[60] = -0.0007 ffffffe9

octave:19>

octave:19> warning: connection to external plotter (pid = 1027) lost --

warning: please try your plot command(s) again


octave:19>

octave:19>