Docsity

Solved Problems on Communication Principles - Study Guide | ECE 303, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Solved Problems on Communication Principles - Study Guide | ECE 303 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Example 4:

Prove Property 6 of two WSS processes

X(t)

and

Y(t),

i.e.

[

]

|^

YY

XX

XY

R

R

R

τ

Solution: Start with the linear combination

Y(t+

X(t),

where

is any

number, and expand

) ( 2 ) 0 ( ) 0 (

)]

(

) (

[

2

)] (

[

)]

(

[

]

)} (

)

(

[{

2

2

2

2

2

τ

β

β

τ

β

β

τ

τ

XY

XX

YY

R

R

R

t

Y t

X

E

t X E t Y E t

aX

t

Y

E

=

      • = + +

To assure that this quadratic is non-negative

2

c

b

a

2

ac

b

or

[

]

2 1 ) 0 ( ) 0 ( | ) (

|^

YY

XX

XY

R

R

R

≤

τ

Department of Electrical & Computer Engineering

Example 5:

Define two r.p.’s by

X(t) = p

1 (t +

and

Y(t) = p

2 (t +

when

p

1 (t)

and

p

2 (t)

are both periodic waveforms

with period T and

is a r.v. uniformly distributed on the

interval (0,T). Find an expression for the cross-correlationfunction

E

[

X(t)Y(t +

]

Solution:

∫ ∫

∞ ∞−

Ε

T

XY

d t p t p T

d f t p t p

t

p

t

p

E

t Y t X E t t R

0

2

1

2

1

2

1

)]

[

)]

( ) ( [ ) , (

Let

η

= t +

ε

d

η

= d

ε

and

Department of Electrical & Computer Engineering

X

X

E

]

[

(a) Show that (b) If the samples are separated far enough in time so

that the r.v.’s

X

i^

can be considered statistically independent,

show that the variance of the estimate of the process mean is

(

)^

N

X

X

2

2 ˆ

Solution: (a)

X

X

N

N

X N t X E N

X E N X E N X E

N i

N i

i

N i

i

N i

i

=

∑

∑

∑

∑

=

=

=

=

)]

[

] [ 1 1 ] ˆ [

1

1

1

1

Department of Electrical & Computer Engineering

[

]

[

]

[

]

=

= =

=

=

N i

N j

j

i

N i

i

N i

N i

i

X

X X X X E N

X

X

N

E

X

N

X

N

E

X

E

X

E

1

1

2

2

1

2

1

1

2

2 ˆ

σ

(b)

(

[

]

j

i

j i X X X X E

i X

j

i

for for

2

But,

Department of Electrical & Computer Engineering

(b)

(

)

))]

[(

))]

[(

))]

[(

))]

[(

))]

[(

)]

( ) ( [ ) (

2

2

2

2

XX

XX

XX

YY

baR

abR

R

b

a

t X t X E b t X t X

baE

t

X t

X

abE

t X t X E a

t

X

t

aX

t

bX

t

aX

E

t Y t Y E R

(c)

))]

[(

))]

[(

))]

[

)]

( ) ( [ ) (

XX

XX

XY

bR

aR

t

X t

X

bE

t

X t

X

aE

t

X

t

aX

t

X

E

t Y t X E R

7

Department of Electrical & Computer Engineering

Example 8:

Consider

Z = XY

, where

X

and

Y

are

Independent Gaussian r.v.’s with

X ~ N(

X

2

and

Y ~ N(

Y

2

Find

and

Z

2 in terms of statistics of

X

and

Y

X

Y

Z

Solution: (a)

Y

X

Z

Y

E

X

E

X

Y

E

Z

E

] [ ] [ ] [ ] [

=^ =

(

)(

) 2

2

2

2

2

2

2

2

2

] [ ] [ ] [ ] [

Y

X

Y E X E Y X E Z E

Y

X

(b)

(

)(

)

2 2 2 2 2 2

2 2 2 2 2 2

2

2

2

]

[

X

Y

Y

X

Y

X

Z

Y

X

Y

X

Y

X

Z

Z

E

σ

σ

σ

σ

σ

σ

σ

Now,

8

Department of Electrical & Computer Engineering

)]

[cos(

cos( 2

0

0

2

0

2

θ τ ω ω τ ω τ

t E A A t t R

XX

Now,

cos(

)]

[cos(

0

0

2 0

0

0

∫

θ π θ τ ω ω θ τ ω ω

π

d

t

t

E

cos( 2

0

2

τ

τ

ω

τ

XX

XX

R

A

t t

R

Thus,

cos( 2

1

2

τ

τ ω

τ

YY

YY

R

B

t t

R

and Also

E[X(t)] = E[Y(t)] = 0, since

cos(

)]

[

0

2 0

∫

θ

π

θ

ω

π

d t A t X E

Department of Electrical & Computer Engineering

i.e., X(t) and Y(t) are individually WSS. But now,

)}]

cos{(

[cos{(

)]

cos( )

[cos(

)]

( ) ( [ ) , (

1

0

1

1

0

1

1

1

0

t t

E

AB

t

t

E

AB

t Y t X E t t R

XY

which is not a function of

τ

, so

X(t), Y(t)

are not jointly WSS.

τ ω

ω

ω

τ

1

0

1

cos{(

2

t

A

B

t t

R

XY

(b)

If

θ

φ ⇒

which is again function of

t

. When

ω

0

ω

1

cos(

2

1

τ

τ ω

τ

XY

XY

R

A

B

t t

R

Department of Electrical & Computer Engineering

Then, the time average autocorrelation function will be,

∫ −

∞ →

T^ T

T

XX

dt

t x t x T t X t X r

lim

∑

−

∞ →

N

N

n

N

XX

m n x n x N m n X n X m r

lim

If these time averages are computed for each sample functionwithin the ensemble set, these values, i.e.,

,^

r

XX

τ

or

r

XX

(m)

form r.v.’s themselves. Now taking

E[.]

of these r.v.’s,

x

X

x

E

]

[

and

)]

[

XX

XX

R

r E

Department of Electrical & Computer Engineering

Now if we assume that the deviations of these averages are zero from one sample to another, then

X

x

XX

XX

R

r

In other words,

the time averages obtained from one signal

(time series) are equal to the ensemble averages

Ergodic r.p.’s:^ A r.p. is said to be “ergodic” if the time averages computed^ for a sample function can be used as an approximation to the^ corresponding ensemble averages of the r.p. This is a very^ restrictive form of stationarity (presupposes stationarity).

Department of Electrical & Computer Engineering

Solution: (a) From the properties of ergodic r.p.,

2

lim

X

XX R

μ

τ

τ

∞ →

)]

[

2

t

X

E

X

X

Thus,

(b)

)]

[

2

XX R

t

X

E

)]

[

2

2

2

X

X

t

X

E

μ

σ

(c)

Reading AssignmentFor Week 12: Sections6.3-6.4 (Peebles)

Department of Electrical & Computer Engineering

A Brief Review on Digital Filters (Computer Assign 3): Why Digital vs. Analog?^ Advantages:^ (1) Less (no) sensitivity to temperature variations / aging.^ (2) Better reliability.^ (3) Can be made adaptive.^ (4) More compact and light weight.^ (5) Less cost, etc.^ Disadvantage:^ Quantization effects due to rounding / truncation.

Department of Electrical & Computer Engineering

Special Case: If b

i^

i^

then

∑

− =

(^11)

0

N j

j^

j n y a n x b n y

This system is referred to as

AR (Auto Regressive)

process.

(2) Non-Recursive or Finite Impulse Response (FIR):

s' b by

weighted

samples

input

present

past

(^10)

presentoutputsample

i

− ∑^ =

M i

i^

i n x b n y

This is

Moving Average

(MA)

filter.

Thus, this filter can be viewed as a special case of IIR when a

j^

j.

Department of Electrical & Computer Engineering

MATLAB Filter Command:

Y = filter (b, a, X)

where X = Input signal (vector)

Y = Output signal (vector) a = [a

0 , a

1 , …, a

N-

]

b = [b

0 , b

1 , …, b

M-

]

Thus for an FIR filter, a = [a

0

, 0, …, 0]

and

a

0

= 1 usually.

b = [b

opt

]

or

b = [1/6, 1/6, …, 1/6]

for a simple averaging filter

of the same order M=6.

Department of Electrical & Computer Engineering