• No results found

Digital Signal Processing (Solution Manual) - 3rd Edition by Mitra

N/A
N/A
Protected

Academic year: 2021

Share "Digital Signal Processing (Solution Manual) - 3rd Edition by Mitra"

Copied!
581
0
0

Loading.... (view fulltext now)

Full text

(1)

SOLUTIONS MANUAL

to accompany

Digital Signal Processing:

A Computer-Based Approach

Third Edition

Sanjit K. Mitra

Prepared by

Chowdary Adsumilli, John Berger, Marco Carli,

Hsin-Han Ho, Rajeev Gandhi, Chin Kaye Koh,

(2)

Chapter 2

2.1 (a) 22.85, 9.1396, 1 4.81, 2 1 1 1 = x = x = x (b) 18.68, 7.1944, 2 3.48. 2 2 1 2 = x = x = x 2.2 Hence, Thus, ⎩ ⎨ ⎧ < ≥ = µ . 0 , 0 , 0 , 1 ] [ n n n ⎩ ⎨ ⎧ ≥ < = − − µ . 0 , 0 , 0 , 1 ] 1 [ n n n x[n]=µ[n]+µ[−n−1].

2.3 (a) Consider the sequence defined by If n < 0, then k = 0 is not included in the sum and hence, x[n] = 0 for n < 0. On the other hand, for k = 0 is included in the sum, and as a result, x[n] =1 for Therefore,

. ] [ ] [ = ∑ δ −∞ = n k k n x , 0 ≥ n . 0 ≥ n ]. [ , 0 , 0 , 0 , 1 ] [ ] [ n n n k n x n k µ = ⎩ ⎨ ⎧ < ≥ = ∑ δ = −∞ =

(b) Since it follows that Hence,

⎩ ⎨ ⎧ < ≥ = µ , 0 , 0 , 0 , 1 ] [ n n n ⎩ ⎨ ⎧ <≥ = − µ . 1 , 0 , 1 , 1 ] 1 [ n n n ]. [ , 0 , 0 , 0 , 1 ] 1 [ ] [ n n n n n =δ ⎩ ⎨ ⎧ ≠ = = − µ − µ 2.4 Recall µ[n]−µ[n−1]=δ[n]. Hence, ] 3 [ 4 ] 2 [ 2 ] 1 [ 3 ] [ ] [nn + δn− − δn− + δ nx ]) 4 [ ] 3 [ ( 4 ]) 3 [ ] 2 [ ( 2 ]) 2 [ ] 1 [ ( 3 ]) 1 [ ] [ (µ −µ − + µ − −µ − − µ − −µ − + µ − −µ − = n n n n n n n n ]. 4 [ 4 ] 3 [ 6 ] 2 [ 5 ] 1 [ 2 ] [ + µ − − µ − + µ − − µ − µ = n n n n n 2.5 (a) [ ]= [− +2]={2 0 −3 −2 1 5 −4}, ↑ n x n c (b) [ ] [ 3] { 2 7 8 0 1 3 6 0 0}, ↑ − − − = − − = y n n d (c) [ ] [ ] {5 2 0 1 2 2 3 0 0}, ↑ − − = − =w n n e (d) [ ]= [ ]+ [ −2]={−4 5 1 −2 3 −3 1 0 8 7 −2}, ↑ n y n x n u (e) [ ]= [ ]⋅ [ +4]={0 15 2 −4 3 0 −4 0}, ↑ n w n x n v (f) [ ]= [ ]− [ +4]={−3 4 −5 0 0 10 2 −2}, ↑ n w n y n s (g) [ ]=3.5 [ ]={21 −10.5 −3.5 0 2.8 24.5 −7}. ↑ n y n r 2.6 (a) x[n]=−4δ[n+3]+5δ[n+2]+δ[n+1]−2δ[n]−3δ[n−1]+2δ[n−3], ], 5 [ 2 ] 4 [ 7 ] 3 [ 8 ] 1 [ ] [ 3 ] 1 [ 6 ] [n = δn+ − δ n −δ n− + δ n− + δ n− − δny ], 8 [ 5 ] 7 [ 2 ] 5 [ ] 4 [ 2 ] 3 [ 2 ] 2 [ 3 ] [n = δ n− + δ n− + δn− −δn− − δ n− + δ nw (b) Recall δ[n]=µ[n]−µ[n−1]. Hence, ]) [ ] 1 [ ( ]) 1 [ ] 2 [ ( 5 ]) 2 [ ] 3 [ ( 4 ] [n n n n n n n x =− µ + −µ + + µ + −µ + + µ + −µ ]) 4 [ ] 3 [ ( 2 ]) 2 [ ] 1 [ ( 3 ]) 1 [ ] [ ( 2 µ −µ − − µ − −µ − + µ − −µ − − n n n n n n

(3)

], 4 [ 2 ] 3 [ 2 ] 2 [ 3 ] 1 [ ] [ 3 ] 1 [ 4 ] 2 [ 9 ] 3 [ 4µ + + µ + − µ + − µ −µ − + µ − + µ − − µ − − = n n n n n n n n 2.7 (a) z_1 z_1 + + h[0] h[1] h[2] x[n] y[n] x[n-1] x[n-2]

From the above figure it follows that y[n]=h[0]x[n]+h[1]x[n−1]+h[2]x[n−2].

(b) h[0] z_1 z_1 + + z_1 z_1 + + 11 β β12 22 β 21 β x[n] y[n] x[n 1]_ x[n 2]_ w[n 1]_ w[n 2]_ w[n]

From the above figure we get w[n]=h[0](x[n]+β11x[n−1]+β21x[n−2]) and ]. 2 [ ] 1 [ ] [ ] [n =w n12w n− +β22w n

y Making use of the first equation in the second

we arrive at ]) 2 [ ] 1 [ ] [ ]( 0 [ ] [n =h x n11x n− +β21x ny ]) 3 [ ] 2 [ ] 1 [ ]( 0 [ 11 21 12 − +β − +β − β + h x n x n x n ]) 4 [ ] 3 [ ] 2 [ ]( 0 [ 11 21 22 − +β − +β − β + h x n x n x n ] 2 [ ) ( ] 1 [ ) ( ] [ ] 0 [

(

+ β1112 − + β2112β1122 − =h x n x n x n . ] 4 [ ] 3 [ ) (β12β2122β11 − +β22β21

)

+ x n x n

(c) Figure P2.1(c) is a cascade of a first-order section and a second-order section. The input-output relation remains unchanged if the ordering of the two sections is

interchanged as shown below.

z_1 z_1 + + + + 0.6 0.3 0.2 _0.8 0.5 _ y[n] w[n 1]_ w[n 2]_ w[n] z_1 + 0.4 x[n] u[n] y[n+1]

(4)

The second-order section can be redrawn as shown below without changing its input-output relation. z_1 z_1 + + + + 0.6 0.3 0.2 _0.8 0.5 _ w[n 1]_ w[n 2]_ w[n] x[n] y[n] z_1 + 0.4 u[n] y[n+1] z_1 z_1

The second-order section can be seen to be cascade of two sections. Interchanging their ordering we finally arrive at the structure shown below:

z_1 z_1 + + + + 0.6 0.3 0.2 _0.8 0.5 _ x[n] y[n] z_1 + 0.4 u[n] y[n+1] z_1 z_1 x[n _1] x[n _2] u[n _1] u[n _2] s[n]

Analyzing the above structure we arrive at

], 2 [ 2 . 0 ] 1 [ 3 . 0 ] [ 6 . 0 ] [n = x n + x n− + x ns ], 2 [ 5 . 0 ] 1 [ 8 . 0 ] [ ] [n =s nu n− − u nu ]. [ 4 . 0 ] [ ] 1 [n u n y n y + = +

From Substituting this in the second equation we get after some

algebra ]. [ 4 . 0 ] 1 [ ] [n y n y n u = + − ]. 2 [ 8 . 0 ] 1 [ 18 . 0 ] [ 4 . 0 ] [ ] 1 [n+ =s ny ny n− + y n

y Making use of the first

equation in this equation we finally arrive at the desired input-output relation

]. 3 [ 2 . 0 ] 2 [ 3 . 0 ] 1 [ 6 . 0 ] 3 [ 2 . 0 ] 2 [ 18 . 0 ] 1 [ 4 . 0 ] [n + y n− + y n− − y n− = x n− + x n− + x ny

(d) Figure P2.19(d) is a parallel connection of a first-order section and a second-order section. The second-order section can be redrawn as a cascade of two sections as indicated below: z_1 z_1 + + + 0.3 0.2 _0.8 0.5 _ w[n 1]_ w[n 2]_ w[n] x[n] z_1 z_1 y [n]2

(5)

Interchanging the order of the two sections we arrive at an equivalent structure shown below: q[n] z_1 z_1 + + _0.8 0.5 _ x[n] + 0.3 0.2 z_1 z_1 y [n]2 y [n 1]2 _ _ y [n 2]2

Analyzing the above structure we get

], 2 [ 2 . 0 ] 1 [ 3 . 0 ] [n = x n− + x nq ]. 2 [ 5 . 0 ] 1 [ 8 . 0 ] [ ] [ 2 2 2 n =q ny n− − y ny

Substituting the first equation in the second we have

]. 2 [ 2 . 0 ] 1 [ 3 . 0 ] 2 [ 5 . 0 ] 1 [ 8 . 0 ] [ 2 2 2 n + y n− + y n− = x n− + x ny (2-1)

Analyzing the first-order section of Figure P2.1(d) given below 0.6 x[n]

+

z_1 0.4 u[n] y [n]1 u[n 1]_ we get ], 1 [ 4 . 0 ] [ ] [n =x n + u nu ]. 1 [ 6 . 0 ] [ 1 n = u ny

Solving the above two equations we have

]. 1 [ 6 . 0 ] 1 [ 4 . 0 ] [ 1 1 ny n− = x ny (2-2)

The output y[n] of the structure of Figure P2.19(d) is given by

y[n]=y1[n]+y2[n]. (2-3)

From Eq. (2-2) we get 0.8y1[n−1]−0.32y1[n−2]=0.48x[n−2] and

]. 3 [ 3 . 0 ] 3 [ 2 . 0 ] 2 [ 5 .

0 y1 n− − y1 n− = x n− Adding the last two equations to Eq. (2-2) we

arrive at y1[n]+0.4y1[n−1]+0.18y1[n−2]−0.2y1[n−3] ]. 3 [ 3 . 0 ] 2 [ 48 . 0 ] 1 [ 6 . 0 − + − + − = x n x n x n (2-4)

Similarly, from Eq. (2-1) we get

]. 3 [ 08 . 0 ] 2 [ 12 . 0 ] 3 [ 2 . 0 ] 2 [ 32 . 0 ] 1 [ 4 . 0 2 − − 2 − − 2 − =− − − − − y n y n y n x n x n Adding this

equation to Eq. (2-1) we arrive at

] 3 [ 2 . 0 ] 2 [ 18 . 0 ] 1 [ 4 . 0 ] [ 2 2 2 2 n + y n− + y n− − y ny ]. 3 [ 08 . 0 ] 2 [ 08 . 0 ] 1 [ 3 . 0 − + − − − = x n x n x n (2-5)

Adding Eqs. (2-4) and (2-5), and making use of Eq. (2-3) we finally arrive at the input-output relation of Figure P2.1(d) as:

]. 3 [ 22 . 0 ] 2 [ 56 . 0 ] 1 [ 9 . 0 ] 3 [ 2 . 0 ] 2 [ 18 . 0 ] 1 [ 4 . 0 ] [n + y n− + y n− − y n− = x n− + x n− + x ny

(6)

2.8 (a) x1*[n]={1− j4 −2− j5 3+ j2 −7− j3 −1− j}, ↑ Therefore }. 4 1 5 2 2 3 3 7 1 { ] [ * 1 n j j j j j x − = − − − − + − − − ↑

(

[ ] [ ]

)

{ . . . . }, ] [ * , 2 1 1 15 45 3 45 15 1 1 n x n x n j j j j x cs = + − = − + − − − ↑

(

[ ] [ ]

)

{ . . . . }. ] [ * , 2 1 1 1 25 25 4 2 25 4 1 25 1 1 n x n x n j j j j j x ca = − − = + + − − + − + ↑

(b) Hence, and thus,

Therefore, . ] [ /3 2 n ej n x = π x*2[n]=ejπn/3 x2*[n]=ejπn/3 = x2[n].

(

[ ] [ ]

)

[ ], ] [ * / , n x n x n e x n x cs j2 n 3 2 2 2 2 1 2 = + − = π = and

(

[ ] [ ]

)

. ] [ * , 2 2 2 0 1 2 n = x nxn = x ca

(c) Hence, and thus,

Therefore, . ] [ /5 3 n je j n x = − π x3*[n]=−jejπn/5 ]. [ ] [ /5 3 * 3 n je x n x − =− −jπn =− [ ]

(

[ ] *[ ]

)

, , 2 3 3 0 1 3 n = x n +xn = x cs and

(

[ ] [ ]

)

[ ] . ] [ * / , 2 3 3 3 5 1 3ca n x n x n x n je j n x = − − = = − π 2.9 (a) [ ]={−4 5 1 −2 −3 0 2}. ↑ n x Hence, [− ]={2 0 −3 −2 1 5 −4}. ↑ n x Therefore, [ ] ( [ ] [ ]) { 2 5 2 4 2 5 2} 2 1 2 1 + = = ↑ n x n x n xev ={−1 2.5 −1 −2 −1 2.5 −1} ↑ and [ ] ( [ ] [ ]) { 6 5 4 0 4 5 6} 2 1 2 1 = = ↑ n x n x n xod ={−3 2.5 2 0 −2 −2.5 3}. ↑ (b) [ ]={0 0 0 0 6 −3 −1 0 8 7 −2}. ↑ n y Hence, }. 0 0 0 0 6 3 1 0 8 7 2 { ] [ ↑ − − − = −n y Therefore, [ ] ( [ ] [ ]) { 1 3.5 4 0 2.5 3 2.5 0 4 3.5 1} 2 1 + = = ↑ n y n y n yev and [ ] ( [ ] [ ]) {1 3.5 4 0 3.5 0 3.5 0 4 3.5 1}. 2 1 = = ↑ n y n y n yod (c) [ ]={0 0 0 0 0 0 0 0 0 0 3 2 2 −1 0 −2 5}. ↑ n w Hence, }. 0 0 0 0 0 0 0 0 0 0 3 2 2 1 0 2 5 { ] [ ↑ − − = −n w Therefore ]) [ ] [ ( ] [ 2 1 n w n w n wev = + −

(7)

} 5 . 2 1 0 5 . 0 1 1 5 . 1 0 0 0 5 . 1 1 1 5 . 0 0 1 5 . 2 { − − − − = ↑ and ]) [ ] [ ( ] [ 2 1 n w n w n wod = − − }. 5 . 2 1 0 5 . 0 1 1 5 . 1 0 0 0 5 . 1 1 1 5 . 0 0 1 5 . 2 {− − − − − − = ↑

2.10 (a) x1[n]= nµ[ +2]. Hence, x1[−n]=µ[−n+2]. Therefore, ⎪⎩ ⎪ ⎨ ⎧ ≤ −≤ ≤ − ≥ = + − µ + + µ = , 3 , 2 / 1 , 2 2 , 1 , 3 , 2 / 1 ]) 2 [ ] 2 [ ( ] [ 2 1 , 1 n n n n n n x ev and ⎪⎩ ⎪ ⎨ ⎧ ≤ − − − ≤ ≤ ≥ = + − µ − + µ = . 3 , 2 / 1 , 2 2 , 0 , 3 , 2 / 1 ]) 2 [ ] 2 [ ( ] [ 2 1 , 1 n n n n n n x od (b) x2[n]=αnµ[n−3]. Hence, x2[−n]=α−nµ[−n−3]. Therefore,

(

)

⎪ ⎪ ⎩ ⎪⎪ ⎨ ⎧ ≤ − α ≤ ≤ − ≥ α = − − µ α + − µ α = − − , 3 , , 2 2 , 0 , 3 , ] 3 [ ] 3 [ ] [ 2 1 2 1 2 1 , 2 n n n n n n x n n n n ev and

(

)

⎪ ⎪ ⎩ ⎪⎪ ⎨ ⎧ ≤ − α ≤ ≤ − ≥ α = − − µ α − − µ α = − − − . 3 , , 2 2 , 0 , 3 , ] 3 [ ] 3 [ ] [ 2 1 2 1 2 1 , 2 n n n n n n x n n n n od (c) x3[n]=nαnµ[n]. Hence, x3[−n]=−nα−nµ[−n]. Therefore,

(

n n

)

n ev n n n n n n x = α µ + − α− µ − = α 2 1 ] [ ) ( ] [ ] [ 2 1 , 3 and

(

[ ] ( ) [ ]

)

. ] [ 2 1 2 1 , 3 n n n od n n n n n n x = α µ − − α− µ − = α (d) x4[n]=αn. Hence, x4[−n]=α−nn = x4[n]. Therefore, n ev n x n x n x n x n x n x [ ]= ( [ ]+ [− ])= ( 4[ ]+ 4[ ])= 4[ ]=α 2 1 4 4 2 1 , 4 and . 0 ]) [ ] [ ( ]) [ ] [ ( ] [ 4 4 2 1 4 4 2 1 , 4 n = x nxn = x nx n = x od 2.11 [ ]

(

[ ] [ ]

)

. 2 1 n x n x n xev = + − Thus, [ ]

(

[ ] [ ]

)

[ ]. 2 1 n x n x n x n xev − = − + = ev Hence, is

an even sequence. Likewise,

] [n xev

(

[ ] [ ]

)

. ] [ 2 1 n x n x n xod = − − Thus,

(

[ ] [ ]

)

[ ]. ] [ 2 1 n x n x n x n

(8)

2.12 (a) g[n]=xev[n]xev[n]. Thus, g[−n]=xev[−n]xev[−n]= xev[n]xev[n]=g[n]. Hence, is an even sequence. ] [n g (b) u[n]=xev[n]xod[n]. Thus, u[−n]= xev[−n]xod[−n]=xev[n]

(

xod[n]

)

=−u[n]. Hence, u[n] is an odd sequence.

(c) v[n]=xod[n]xod[n]. Thus, v[−n]=xod[−n]xod[−n]=

(

xod[n]

)(

xod[n]

)

Hence, is an even sequence.

]. [ ] [ ] [n x n v n xod od = = v[n]

2.13 (a)Since x[n] is causal, x[n]=0, n<0. Also, x[−n]=0, n>0. Now,

(

[ ] [ ]

)

. ] [ 2 1 n x n x n xev = + − Hence, [0]

(

[0] [0]

)

[0] 2 1 x x x xev = + = and . 0 ], [ ] [ 2 1 > = x n n n

xev Combining the two equations we get

⎪⎩ ⎪ ⎨ ⎧ < = > = . 0 , 0 , 0 ], [ , 0 ], [ 2 ] [ n n n x n n x n x ev ev Likewise, [ ]

(

[ ] [ ]

)

. 2 1 n x n x n xod = − − Hence, [0]

(

[0] [0]

)

0 2 1 = = x x xod and . 0 ], [ ] [ 2 1 > = x n n n

xod Combining the two equations we get

⎩ ⎨ ⎧ ≤> = . 0 , 0 , 0 ], [ 2 ] [ n n n x n x ev

(b) Since y[n] is causal, y[n]=0, n<0. Also, y[−n]=0, n>0. Let

where and are real causal sequences. ], [ ] [ ] [n y n jy n y = re + im yre[n] yim[n] Now, [ ]

(

[ ] [ ]

)

. 2 1 n y n y n yca = − ∗ − Hence, [0]

(

[0] [0]

)

[0] 2 1 im ca y y jy y = − ∗ = and . 0 ], [ ] [ 2 1 > = n n n

yca y Since is not known, cannot be fully recovered from . ] 0 [ re y y[n] ] [n yca Likewise, [ ]

(

[ ] [ ]

)

. 2 1 n y n y n ycs = + ∗ − Hence, [0]

(

[0] [0]

)

[0] 2 1 re cs y y y y = + ∗ = and . 0 ], [ ] [ 2 1 > = n n n

ycs y Since is not known, cannot be fully recovered from . ] 0 [ im y y[n] ] [n ycs

2.14 Since x[n] is causal, x[n]=0, n<0. From the solution of Problem 2.13 we have

]. [ ] [ ) cos( 2 , 0 , 0 , 0 1 , 0 ), cos( 2 , 0 , 0 , 0 ], [ , 0 ], [ 2 ] [ n n n n n n n n n n x n n x n x o o ev ev δ − µ ω = ⎪⎩ ⎪ ⎨ ⎧ < = > ω = ⎪⎩ ⎪ ⎨ ⎧ <= > =

2.15 (a) {x[n]}={Aαn} where A and α are complex numbers with α <1. Since for n

(9)

(b) where ⎩ ⎨ ⎧ < ≥ α = µ α = , 0 , 0 , 0 , ] [ ] [ n n A n A n

y n n A and α are complex numbers with

. 1 <

α Here, αn ≤1,n≥0. Hence y[n] ≤ A for all values of Hence, is a bounded sequence.

.

n { ny[ ]}

(c) {h[n]}=Cβnµ[n] where C and β are complex numbers with β >1. Since for n

n> ,0 β can become arbitrarily large, { nh[ ]} is not a bounded sequence.

(d) {g[n]}=4cos(ωon). Since g[n] ≤4 for all values of is a bounded sequence. ]} [ { , g n n (e) ⎪⎩ ⎪ ⎨ ⎧ ≤ ≥ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − = . 0 , 0 , 1 , 1 ] [ 2 1 n n n v n Since 12 <1 n for n>1 and 2 1 1 = n for n=1, [ ] <1 n v for

all values of n. Thus { nv[ ]} is a bounded sequence.

2.16 [ ] ( 1) [ 1]. 1 − µ − = + n n n x n Now [ ] ( 1) 1 . 1 1 1 ∞ = ∑ = ∑ − = ∑ ∞ = ∞ = + ∞ −∞ = n n n n n n n x Hence is

not absolutely summable.

]} [ { nx 2.17 (a) x1[n]=αnµ[n−1]. Now <∞ α − α = ∑ α = ∑ α = ∑ ∞ = ∞ = ∞ −∞ = 2[ ] 1 n 1 1 n n n n n x , since . 1 <

α Hence, {x1[n]} is absolutely summable.

(b) x2[n]=αnµ[n−1]. Now ∑ = ∑ α = ∑ α∞ = ∞ = ∞ −∞ = 2 1 1 ] [ n n n n n n n n x , ) 1 ( 2 ∞ < α − α = since . 1 2 <

α Hence, {x2[n]} is absolutely summable.

(c) x3[n]=nnµ[n−1]. Now n n n n n n n n x = ∑ α = ∑ α ∑ ∞ = ∞ = ∞ −∞ = 1 2 1 2 3[ ] K + α + α + α + α = 22 2 32 3 42 4 ) ( 5 ) ( 3 ) (α + α2 + α3 + α4 +K + α2 + α3 + α4 +K + α3 + α4 + α5 +K =

(10)

) ( 7 α4 + α5 + α6 +K + = +K α − α + α − α + α − α + α − α 1 7 1 5 1 3 1 4 3 2 ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ α − ∑ α α − = ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ − α α − = ∞ = ∞ = ∞ =1 1 1 2 1 1 ) 1 2 ( 1 1 n n n n n n n n ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ α − α − α − α α − = 1 ) 1 ( 2 1 1 2 . ) 1 ( ) 1 ( 3 <∞ α − α + α

= Hence, {x3[n]} is absolutely summable.

2.18 (a) [ ]. 2 1 ] [n n x n a = µ Now 2 . 1 1 2 1 2 1 ] [ 2 1 0 0 ∞ < = − = ∑ = ∑ = ∑ ∞ = ∞ = ∞ −∞ = n n n n n a n x Hence, is absolutely summable. ]} [ {xa n (b) [ ]. ) 2 )( 1 ( 1 ] [ n n n n xb µ + + = Now ∑ + + = ∑ ∞ = ∞ −∞ = 0 ( 1)( 2) 1 ] [ n n b n n n x . 1 5 1 4 1 4 1 3 1 3 1 2 1 2 1 1 2 1 1 1 0 ∞ < = + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − = ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + − + = ∞ = K n n n Hence, is absolutely summable. ]} [ {xb n

2.19 (a) A sequence x[n] is absolutely summable if ∑∞ [ ] <∞.

−∞ = n n x By Schwartz inequality we have [ ]2 [ ] [ ]⎟⎟<∞. ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ ≤ ∑ ∞ −∞ = ∞ −∞ = ∞ −∞ = n n n n x n x n

x Hence, an absolutely summable

sequence is square summable and has thus finite energy.

Now consider the sequence x[n]= 1µ[n−1].

n The convergence of an infinite series can be shown via the integral test. Let an = f(x), where a continuous, positive and

decreasing function is for all Then the series and the integral

both converge or both diverge. For . 1 ≥ x ∑∞ =1 n n a ∫ ∞ 1 ) ( dxx f . ) ( , 1 1 x n n f x a = = But ∫ = ∞ =∞− =∞ ∞ 0 ) (ln 1 1 1 x dx x . Hence, ∑ = ∑∞ = ∞ −∞ = 1 1 ] [ n n n n

x does not converge. As a result, x[n]= 1µ[n−1]

n is not

(11)

(b) To show that { nx[ ]} is square-summable, we observe that here 12 n n a = , and thus, . ) ( 12 x x f = Now, 1 1 1 1. 1 1 1 2 ⎟ =−∞+ = ⎞ ⎜ ⎝ ⎛− = ∫ ∞ ∞ x dx x Hence, ∑∞ =1 1 2 n n converges, or in other words, x[n]= 1µ[n−1] n is square-summable.

2.20 See Problem 2.19, Part (a) solution.

2.21 2[ ] cos µ[ −1]. π ω = n n n n x c Now, [ ] cos 1 . 1 2 2 1 2 2 2 ∑ π ≤ ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ π ω = ∑ ∞ = ∞ = ∞ −∞ = n n c n n n n n x Since, , 6 2 1 1 2 π = ∑∞ = n n . 6 1 cos 1 2 ≤ ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ π ω ∞ = n c n n Therefore x2[n] is square-summable.

Using the integral test (See Problem 2.19, Part (a) solution) we now show that is

not absolutely summable. Now,

] [ 2 n x ∞ ∞ ω ⋅ ω π ω ⋅ π = ∫ πω 1 1 ) int( cos cos cos 1 cos x x x x dx x x c c c c where

is the cosine integral function. Since int cos dx x x cπω ∞ 1 cos diverges, ∑ π ω ∞ =1 cos n c n n also diverges. Hence, x2[n] is not absolutely summable.

2.22 = ∑ = ∑∞

(

+

)

−∞ = + ∞ → − = + ∞ → K K K ev od K K n K K x x n 2 1 x n x n 2 1 2 1 2 1 ] [ ] [ lim ] [ lim P

(

)

∑ + + = − = + ∞ → K K n ev od ev od K K n x n x n x n x [ ] [ ] 2 [ ] [ ] lim 2 2 1 2 1

(

[ ] [ ]

)(

[ ] [ ] lim 1 2 1 2 1 n x n x n x n x K K n K K x xev + od + ∑ + − − − = − = + ∞ → P P

)

od ev n K K n od ev x K K x n x n x x x P P P P + + = + = ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ − − ∑ ⋅ + ∞ → ∞ −∞ = − = [ ] [ ] 2 1 1 2 1 2 2 lim

as ∑ = ∑ − Now for the given sequence,

− = − = K K n K K n n x n x2[ ] 2[ ]. ∑ + ∞ → = + ∞ → − = + ∞ → ⎟⎠ = ⎞ ⎜ ⎝ ⎛ = ∑ ⎜⎛ ⎟⎞ = ∑ = K n od K K K n K K K K n od K K x x n 0 1 1 2 1 6 3 1 0 6 3 1 1 2 1 2 1 2 1 lim lim ] [ lim P . lim 6 3 1 2 1 1 2 1 6 3 1 ⎠ ⎞ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = = + + ∞ → K K K Hence, . 10 6 3 1 2 1 ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − = − = od ev x x x P P P

(12)

2.23 x[n]=sin(2πkn/N), 0≤nN−1. Now [ ] 1sin (2 / ) 0 2 1 0 2 N kn n x N n N n x = ∑ = ∑ π − = − = E

(

1 cos(4 / )

)

1cos(4 / ). 0 2 1 2 1 0 2 1 ∑ π − = ∑ − π = − = − = N n N N n N kn N kn Let = ∑ π and − = 1 0 ) / 4 cos( N n N kn C Then . ) / 4 sin( 1 0 ∑ π = − = N n N kn S 0. 1 1 / 4 4 1 0 / 4 = − − = ∑ = + − ππ = π − N k j kn j N n N kn j e e e jS C This implies Hence . 0 = C . 2 N x = E 2.24 (a) x[n]= Aαµ[n]. Then . 1 ] [ 2 2 0 2 2 2 α − = ∑ α = ∑ = ∞ = ∞ −∞ = A A n x n n n a xa E (b) x [n]= 12µ[n−1]. n b Then ∑ = ∑ = ∑ ∞ = ∞ = ∞ −∞ = 1 1 1 1 2 4 2 ] [ n n n n n b xb x n E . 90 4 π =

2.25 (a) x1[n]=(−1)n. Then average power

, 1 ) 1 2 ( 1 2 1 lim ] [ lim 1 2 1 2 1 1 = ∑ = + + = − = + ∞ → x n K K K K K n K K x P and energy . 1 ] [ 2 1 1 = ∑ = ∑ =∞ ∞ −∞ = ∞ −∞ = n n x x n E

(b) x2[n]=µ[n]. Then average power

, 2 1 1 2 1 lim 1 1 2 1 lim ] [ 1 2 1 lim 0 2 2 2 + = + = ∑ + = ∑ + = ∞ → = ∞ → − = ∞ → K K K n x K K K n K K K n K x P and energy . 1 ] [ 0 2 2 2 = ∑ = ∑ =∞ ∞ = ∞ −∞ = n n x x n E

(c) x3[n]=nµ[n]. Then average power

, 6 ) 1 2 )( 1 ( lim 1 2 1 lim ] [ 1 2 1 lim 1 2 2 3 3 =∞ + + = ∑ + = ∑ + = ∞ → = ∞ → − = ∞ → K K K n K n x K K K n K K K n K x P and energy [ ] . 0 2 2 3 3 = ∑ = ∑ =∞ ∞ = ∞ −∞ = n n x x n n E

(d) [ ] 0 . Then average power

0 4 n j e A n x = ω ∑ + = − = ∞ → K K n K x x n K P 4[ ]2 1 2 1 lim 4

(13)

, ) 1 2 ( 1 2 1 lim 1 2 1 lim 1 2 1 lim 0 0 2 02 A02 K A02 K A K e A K K K K n K K K n n j K = + ⋅ + = ∑ + = ∑ + = ∞ → − = ∞ → − = ω ∞ → and energy 3[ ]2 0 0 2 02 . 3 = ∑ = ∑ = ∑ =∞ ∞ −∞ = ∞ −∞ = ω ∞ −∞ = n n n j n x x n A e A E (e) 5[ ] cos 2 ⎟. ⎠ ⎞ ⎜ ⎝ ⎛ +φ = π M n A n

x Note x5[n] is a periodic sequence.Then average power

. 1 cos 2 1 cos 1 ] [ 1 1 0 2 4 2 1 0 2 2 1 0 2 5 5 ∑ ⎟⎠ ⎞ ⎜ ⎝ ⎛ + ⎠ ⎞ ⎜ ⎝ ⎛ ⋅ = ∑ ⎜⎛ +φ⎟⎞ = ∑ = − = + φ π − = π − = M n M n M n M n M n x A M A M n x M P Let ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + φ = − = 1 0 4 2 cos M n M πn C and 1cos 2 . 0 4 ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + φ = − = M n M πn S Then . 0 1 1 / 4 4 2 1 0 / 4 2 1 0 2 4 = − − ⋅ = ∑ = ∑ = + − φ ππ = π φ − = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ π + φ M j j j M n M n j j M n j e e e e e e jS C M n Hence C =0. Therefore . 2 1 2 1 1 2 0 2 5 A A M P M n x = ⋅ ∑ = − =

Since x5[n] is a periodic sequence, it has infinite energy.

2.26 In each of the following parts, Ndenotes the fundamental period and r is a positive integer.

(a) ~x1[n]=4cos(2πn/5). Here N and r must satisfy the relation 2 .

5 2 r N = π ⋅ π

Among all positive solutions for N and r, the smallest values are N =5 and r =1. Hence the average power is given by

. 8 cos 4 5 1 ] [ ~ 1 4 2 0 5 2 1 0 2 1 1 ∑ ⎟⎠ = ⎞ ⎜ ⎝ ⎛ = ∑ = = π − = n n N n x x n N P

(b) ~x2[n]=3cos(3πn/5). Here N and r must satisfy the relation 2 .

5 3 r N = π ⋅ π

Among all positive solutions for N and r, the smallest values are N =10 and r=3. Hence the average power is given by

. 5 . 4 cos 3 10 1 ] [ ~ 1 9 2 0 5 3 1 0 2 2 2 ∑ ⎟⎠ = ⎞ ⎜ ⎝ ⎛ = ∑ = = π − = n n N n x x n N P

(c) ~x3[n]=2cos(3πn/7). Here N and r must satisfy the relation 2 .

7 3 r N = π ⋅ π

Among all positive solutions for N and r, the smallest values are N =14 and r=3. Hence the average power is given by

. 2 cos 2 14 1 ] [ ~ 1 13 2 0 7 3 1 0 2 3 3 ∑ ⎟⎠ = ⎞ ⎜ ⎝ ⎛ = ∑ = = π − = n n N n x x n N P

(14)

(d) ~x4[n]=4cos(5πn/3). Here N and r must satisfy the relation 2 . 3 5 r N = π ⋅ π

Among all positive solutions for N and r, the smallest values are N =6 and r =5. Hence the average power is given by

. 8 cos 4 6 1 ] [ ~ 1 5 2 0 3 5 1 0 2 4 4 ∑ ⎟⎠ = ⎞ ⎜ ⎝ ⎛ = ∑ = = π − = n n N n x x n N P

(e) x~5[n]=4cos(2πn/5)+3cos(3πn/5). We first determine the fundamental period

of Here and

1

N cos(2πn/5). N1 r must satisfy the relation 1 2 .

5 2 r N = π ⋅ π Among all positive solutions for N1 and , the smallest values are r N1 =5 and We next determine the fundamental period of

. 1 =

r

2

N cos(3πn/5). Here and r must satisfy the relation 2 N . 2 2 5 3 r N = π ⋅ π

Among all positive solutions for N2 and r, the smallest values are N2 =10 and r=3. The fundamental period of ~x5[n] is then given by

. 10 ) 10 , 5 ( ) , (N1 N2 = LCM = LCM

Hence the average power is given by

2 4 0 5 3 5 2 1 0 2 5 4cos 3cos 10 1 ] [ ~ 1 5 ∑ ⎟⎠ ⎞ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ∑ = = π π − = n n n N n x x n N P . 5 . 12 0 5 . 4 8 cos cos 24 cos 9 cos 16 10 1 11 0 5 3 5 2 5 3 11 0 2 5 2 11 0 2 + + = ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∑ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∑ = = π π π = π = n n n n n n n

(f) ~x6[n]=4cos(5πn/3)+3cos(3πn/5). We first determine the fundamental period of Here and r must satisfy the relation

1 N cos(5πn/3). N1 1 2 . 3 5 r N = π ⋅ π Among all positive solutions for N1 and , the smallest values are r N1 =6 and We next determine the fundamental period of

. 5 =

r

2

N cos(3πn/5). Here and r must satisfy the relation 2 N . 2 2 5 3 r N = π ⋅ π

Among all positive solutions for and r, the smallest values are and The fundamental period of is then given by

2 N 10 2 = N r=3. ~x6[n] . 30 ) 10 , 6 ( ) , (N1 N2 = LCM = LCM

Hence the average power is given by

2 29 0 5 3 3 5 1 0 2 6 4cos 3cos 30 1 ] [ ~ 1 6 ∑ ⎟⎠ ⎞ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ∑ = = π π − = n n n N n x x n N P . 5 . 12 0 5 . 4 8 cos cos 24 cos 9 cos 16 30 1 29 0 5 3 3 5 5 3 30 0 2 3 5 29 0 2 + + = ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ ⎜⎛ ⎟⎞ ⎜⎛ ⎟⎞ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∑ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∑ = = π π π = π = n n n n n n n

2.27 Now , from Eq. (2.38) we have~[ ]= ∑∞ [ + ]. Therefore

−∞ = k kN n x n y

(15)

. ] [ ] [ ~ + = + + −∞ = k N kN n x N n y Substituting r= k+1 we get ]. [ ~ ] [ ] [ ~y n N x n rN y n r = ∑ + = + ∞ −∞

= Hence ~ ny[ ] is a periodic sequence with a period N.

2.28 (a)N =5. Now ~ [ ]= ∑∞ [ + 5]. The portion of in the range

−∞ = n p n x n k x ~xp[n] 0≤ n≤4 is given by x[n−5]+x[n]+x[n+5]={0 0 −4 5 1} . 4 0 }, 1 7 4 3 2 { } 0 0 0 0 0 { } 0 2 0 3 2 {− − + = − − − ≤ ≤ + n

Hence, one period of ~xp[n] is given by {−2 −3 −4 7 1},0≤n≤4.

Now ~ [ ]= ∑∞ [ + 5]. The portion of in the range is given by

−∞ = n p n y n k y ~ nyp[ ] 0≤ n≤4 } 6 0 0 0 0 { ] 5 [ ] [ ] 5 [n− +y n +y n+ = y . 4 0 }, 13 8 0 1 5 { } 0 0 0 0 2 { } 7 8 0 1 3 {− − + − = − − ≤ ≤ + n

Hence, one period of ~ nyp[ ] is given by {−5 −1 0 8 13},0≤n≤4.

Now ~ [ ]= ∑∞ [ + 5]. The portion of in the range is given by

−∞ = n p n wn k w w~p[n] 0≤ n≤4 } 0 0 0 0 0 { ] 5 [ ] [ ] 5 [n− +w n +w n+ = w . 4 0 }, 2 7 1 0 1 { } 0 5 2 0 1 { } 2 2 3 0 0 { + − − = − ≤ ≤ + n

Hence, one period of w~p[n] is given by {−1 0 1 7 2},0≤n≤4. (b) N =7. Now ~ [ ]= ∑∞ [ + 7]. The portion of in the range

−∞ = n p n x n k x ~xp[n] 0≤ n≤6 is given by x[n−7]+x[n]+x[n+7]={0 0 0 0 −4 5 1} } 0 0 0 0 0 0 0 { } 0 0 0 2 0 3 2 {− − + + . 6 0 }, 1 5 4 2 0 3 2 {− − − ≤ ≤

= n Hence, one period of ~xp[n] is given by

. 6 0 }, 1 5 4 2 0 3 2 {− − − ≤n

Now ~ [ ]= ∑∞ [ + 7]. The portion of in the range is given by

−∞ = n p n y n k y ~ nyp[ ] 0≤ n≤6 } 6 0 0 0 0 0 0 { ] 7 [ ] [ ] 7 [n− +x n +x n+ = x } 0 0 0 0 0 0 0 { } 0 2 7 8 0 1 3 {− − − + + . 6 0 }, 6 2 7 8 0 1 3 {− − − ≤ ≤

= n Hence, one period of ~ nyp[ ] is given by

. 6 0 }, 6 2 7 8 0 1 3 {− − − ≤n

Now ~ [ ]= ∑∞ [ + 7]. The portion of in the range is given by

−∞ = n p n wn k w w~p[n] 0≤ n≤6 } 0 0 0 0 0 0 0 { ] 7 [ ] [ ] 7 [n− +w n +w n+ = w } 0 0 0 0 0 5 2 { } 0 1 2 2 3 0 0 { − + − +

(16)

. 6 0 }, 0 1 2 2 3 5 2 {− − ≤ ≤

= n Hence, one period of w~p[n] is given by

. 6 0 }, 0 1 2 2 3 5 2 {− − ≤n2.29 ~x[n]= Acos(ωon+φ). (a) ~x[n]={1 −1 −1 1 1 −1 −1 1}. Hence A= 2,ωo =π/2,φ=π/4. (b) x~[n]={0 − 3 0 3 0 − 3 0 3}. Hence A= 3, ωo =π/2, . 2 / π = φ (c) x~[n]={1 −0.366 −1.366 −1 0.366 1.366}. Hence A= 2, ωo =π/3, . 4 / π = φ (d) ~x[n]={2 0 −2 0 2 0 −2 0}. Hence A=2,ωo =π/2,φ=0.

2.30 The fundamental period Nof a periodic sequence with an angular frequency ω o satisfies Eq. (2.47a) with the smallest value of N and . r

(a) ωo =0.5π. Here Eq. (2.47a) reduces to 0.5πN =2πr which is satisfied with . 1 , 4 = = r N

(b) ωo =0.8π. Here Eq. (2.47a) reduces to 0.8πN =2πr which is satisfied with . 2 , 5 = = r N

(c) We first determine the fundamental period of In this case, Eq. (2.47a) reduces to

1 N Re{ejπn/5}=cos(0.2πn). 1 1 2 2 .

0 πN = πr which is satisfied with N1=10,r1=1. We next determine the fundamental period of In this case, Eq. (2.47a) reduces to

2 N Im{ejπn/10 = jsin(0.1πn). 2 2 2 1 .

0 πN = πr which is satisfied with N2 =20,r2 =1. Hence the fundamental period N of ~ nxc[ ] is given by

. 20 ) 20 , 10 ( ) , (N1 N2 = LCM = LCM

(d) We first determine the fundamental period of In this case, Eq. (2.47a) reduces to 1 N 3cos(1.3πn). 1 1 2 3 .

1 πN = πr which is satisfied with N1 =20,r1 =13. We next determine the fundamental period N2 of 4sin(0.5πn+0.5π). In this case, Eq. (2.47a) reduces to 0.5πN2=2πr2 which is satisfied with N2 = r4, 2 =1. Hence the

fundamental period N of ~x4[n] is given by LCM(N1,N2)= LCM(20,4)=20. (e) We first determine the fundamental period of In this case, Eq. (2.47a) reduces to

1 N 5cos(1.5πn+0.75π). 1 1 2 5 .

1 πN = πr which is satisfied with N1 = r4, 1 =3. We next determine the fundamental period N2 of 4cos(0.6πn). In this case, Eq. (2.47a) reduces to 0.6πN2=2πr2 which is satisfied with N2 =10,r2 =3. We finally

determine the fundamental period N3 of sin(0.5πn). In this case, Eq. (2.47a) reduces to 0.5πN3=2πr3 which is satisfied with N3 = r4, 3 =1. Hence the fundamental period

N of ~x5[n] is given by LCM(N1,N2,N3)= LCM(4,10,4)=20.

2.31 The fundamental period Nof a periodic sequence with an angular frequency ω o satisfies Eq. (2.47a) with the smallest value of N and . r

(17)

(a) ωo =0.6π. Here Eq. (2.47a) reduces to 0.6πN =2πr which is satisfied with . 3 , 10 = = r N

(b) ωo =0.28π. Here Eq. (2.47a) reduces to 0.28πN =2πr which is satisfied with . 7 , 50 = = r N

(c) ωo =0.45π. Here Eq. (2.47a) reduces to 0.45πN =2πr which is satisfied with . 9 , 40 = = r N

(d) ωo =0.55π. Here Eq. (2.47a) reduces to 0.55πN =2πr which is satisfied with . 11 , 40 = = r N

(e) ωo =0.65π. Here Eq. (2.47a) reduces to 0.65πN =2πr which is satisfied with . 13 , 40 = = r N

2.32 ωo =0.08π. Here Eq. (2.47a) reduces to 0.08πN =2πr which is satisfied with For a sequence . 1 , 25 = = r

N ~x2[n]=sin(ω2n) with a fundamental period of N =25, Eq. (2.47a) reduces to 25ω2 =2πr. For example, for r=2 we have

Another sequence with the same fundamental period is obtained by setting which leads to

. 16 . 0 25 / 4 2 = π = π ω 3 =

r ω3 =6π/25=0.24π. The corresponding periodic sequences are therefore ~x2[n]=sin(0.16πn) and ~x3[n]=sin(0.24πn).

2.33 The three parameters A,Ωo,and φ of the continuous-time signal can be determined from ) (t xa ) cos( ) ( ] [n =x nT =AnT

x a o by setting 3 distinct values of

For example . n , cos ] 0 [ = A φ=α x , sin ) sin( cos ) cos( ) cos( ] 1 [− =A −Ω T +φ = AT φ+AT φ=β x o o o , . sin ) sin( cos ) cos( ) cos( ] 1 [ = AT+φ =AT φ−AT φ=γ x o o o

Substituting the first equation into the last two equations and then adding them we get α γ + β = Ω 2 )

cos( oT which can be solved to determine Ω . Next, from the second o equation we have Asinφ=β−Acos(ΩoT)cosφ=β−αcos(ΩoT). Dividing this equation by the last equation on the previous page we arrive at

T T o o Ω α Ω α − β = φ sin( ) cos( tan

which can be solved to determine φ. Finally, the parameter is determined from the first equation of the last page.

(18)

Now consider the case T 2 2 o.

T = Ω

π =

Ω In this case x[n]= Acos(nπ+φ)=β and

(

+ π+φ

)

= π+φ =β

=

+1] cos( 1) cos( )

[n A n A n

x . Since all sample values are equal, the

three parameters cannot be determined uniquely.

Finally consider the case T 2 2 o.

T < Ω

π =

Ω In this case x[n]= Acos(ΩonT+φ) implying

) cos(ω +φ

=A on ωo =ΩoT >π. As explained in Section 2.2.1, a digital sinusoidal sequence with an angular frequency ω greater than assumes the identity o of a sinusoidal sequence with an angular frequency in the range . Hence,

cannot be uniquely determined from

π

. 0≤ω<π o

x[n]= Acos(ΩonT +φ).

2.34 x[n]=cos(ΩonT). If x[n] is periodic with a period N, then

(

)

[ ] cos( ).

cos ]

[n N 0nT 0NT x n 0nT

x + = Ω +Ω = = Ω This implies ΩoNT =2πrwith

r any nonzero positive integer. Hence the sampling rate must satisfy the relation If i.e.,

. /

2 r N

T = π Ωoo =20, T =π/8, then we must have N⋅π =2πr

8

20 . The

smallest value of N and r satisfying this relation are N =4 and The fundamental period is thus

. 5 = r 4 = N .

2.35 (a) For an input xi[n],i=1,2, the output is

. 2 , 1 ], 2 [ ] 1 [ ] 2 [ ] 1 [ ] [ ] [n =b0x n +b1x n− +b2x n− +a1y n− +a2y ni = yi i i i i i Then, for

an input x[n]= Ax1[n]+Bx2[n], the output is y[n]=b0(Ax1[n]+Bx2[n])

]) 1 [ ] 1 [ ( ]) 2 [ ] 2 [ ( ]) 1 [ ] 1 [ ( 1 2 2 1 2 1 1 2 1 − + − + − + − + − + − +b Ax n Bx n b Ax n Bx n a Ay n By n ]) 2 [ ] 2 [ ( 1 2 1 − + − +a Ay n By n = A(b0x1[n]+b1x1[n−1]+b2x1[n−2]+a1y1[n−1] ]) 2 [ ] 1 [ ] 2 [ ] 1 [ ] [ ( ]) 1 [ 1 2 2 2 3 2 1 2 2 2 2 2 − + + − + − + − + − +a y n B b x n b x n b x n a x n a x n ]. [ ] [ 2 1 n By n Ay +

= Hence, the system of Eq. (2.18) is linear. (b) For an input xi[n],i=1,2, the output is

⎩ ⎨ ⎧ = ± ± = otherwise. , 0 , 2 , , 0 ], / [ ] [n x n L n L L L yi i

For an input x[n]=Ax1[n]+Bx2[n], the output for n=0,±L,±2L,K is ] [ ] [ ] / [ ] / [ ] / [ ] [n x n L Ax1 n L Bx2 n L Ay1 n By2 n

y = = + = + . For all other values of

Hence the system of Eq. (2.20) is linear. . 0 0 0 ] [ ,y n = A⋅ +B⋅ = n

(c) For an input xi[n],i=1,2, the output is yi[n]=xi[n/M],i=1,2. Then, for an input the output is ], [ ] [ ] [n Ax1 n Bx2 n x = + y[n]= Ax1[n/M]+Bx2[n/M]= Ay1[n]+By2[n]. Hence the system of Eq. (2.21) is linear.

(19)

(d) For an input xi[n],i=1,2, the output is = ∑− − = = 1 0 . 2 , 1 ], [ 1 ] [ M k i i x n k i M n y Then, for

an input x[n]= Ax1[n]+Bx2[n], the output is = ∑−

(

− + −

)

= 1 0 1 2 ] [ ] [ 1 ] [ M k k n Bx k n Ax M n y ]. [ ] [ ] [ 1 ] [ 1 2 1 1 0 2 1 01 n By n Ay k n x M B k n x M A M k M k + = ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ − + ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ ∑ − = − = −

= Hence the system of

Eq. (2.61) is linear.

(e) The first term on the RHS of Eq. (2.65) is the output of a factor-of-2 up-sampler. The second term on the RHS of Eq. (2.65) is simply the output of an unit delay followed by a factor-of-2 up-sampler, whereas, the third term is the output of an unit advance operator followed by a factor-of-2 up-sampler. We have shown in Part (b) that the up-sampler is a linear system. Moreover, the unit delay and the unit advance

operator are linear systems. A cascade of two linear systems is linear and the linear combination of linear systems is also linear. Hence, the factor-of-2 interpolator of Eq. (2.65) is a linear system.

(f) Following the arguments given in Part (e), we can similarly show that the factor-of-3 interpolator of Eq. (2.66) is a linear system.

2.36 (a) y[n]=n3x[n]. For an input xi[n],i=1,2, the output is Then, for an input

. 2 , 1 ], [ ] [n =n3x n i= yi i ], [ ] [ ] [n Ax1 n Bx2 n x = + the output is

Hence the system is linear.

(

[ ] [ ]

)

] [n n3 Ax1 n Bx2 n y = + ]. [ ] [ 2 1 n By n Ay + =

For an input the output is the impulse response As for and the system is causal.

], [ ] [n n xh[n]=n3δ[n]. 0 ] [n = h n<0,

Let 1 for all values of x[n]= n. Then y[n] = n3 and as Since a bounded input results in an unbounded output, the system is not BIBO stable.

∞ → ] [n

y n→∞.

Finally, let y[n] and y1[n] be the outputs for inputs x[n] and x1[n], respectively. If

then However, ] [ ] [ 1 n x n no x = − y1[n]=n3x1[n]=n3x[nno]. y[nno]= Since ]. [ )

(nno 3x nno y1[n]≠ y[nno], the system is not time-invariant.

(b) y[n]=(x[n])5. For an input xi[n],i=1,2, the output is yi[n]=(xi[n])5,i=1,2. Then, for an input x[n]= Ax1[n]+Bx2[n], the output is

Hence the system is nonlinear.

(

)

5 2 1[ ] [ ] ] [n Ax n Bx n y = + . ]) [ ( ]) [ (x1 n 5 B x2 n 5 A + ≠

For an input the output is the impulse response As for and the system is causal.

], [ ] [n n xh[n]=(δ[n])5. 0 ] [n = h n<0,

(20)

For a bounded input x[n] ≤ B<∞, the magnitude of the output samples are . ] [ ]) [ ( ] [n = x n 5 = x n 5 ≤B5 <∞

y As the output is also a bounded sequence, the

system is BIBO stable.

Finally, let y[n] and y1[n] be the outputs for inputs x[n] and x1[n], respectively. If ]

[ ] [

1 n x n no

x = − then y1[n]=(x1[n])5 =

(

x[nno]

)

5 = y[nno]. Hence, the system is time-invariant. (c) =β+ ∑ − with = 3 0 ] [ ] [ l l n x n

y β a nonzero constant. For an input the

output is Then, for an input

the output is , 2 , 1 ], [n i= xi . 2 , 1 , ] [ ] [ 3 0 = ∑ − + β = = x n i n yi i l l ], [ ] [ ] [n Ax1 n Bx2 n x = +

(

)

=β+ ∑ − + ∑ − ∑ − + − + β = = = = 3 0 2 3 0 1 3 0 1 2 ] [ ] [ ] [ ] [ ] [ l l l l l l l n Bx n Ax n Bx n Ax n y ]. [ ] [ 2 1 n By n Ay +

≠ Hence the system is nonlinear.

For an input the output is the impulse response As

for the system is noncausal. ], [ ] [n n x =δ [ ] [ ]. 0 ∑δ − + β = ∞ = l l n n h 0 ] [nh n<0,

For a bounded input x[n] ≤ B<∞, the magnitude of the output samples are .

4 ]

[n ≤β+ B<∞

y As the output is also a bounded sequence, the system is BIBO stable.

Finally, let y[n] and y1[n] be the outputs for inputs x[n] and x1[n], respectively. If ]

[ ] [

1 n x n no

x = − then Hence, the system is

time-invariant. ]. [ ] [ ] [ 3 0 1 n x n no y n no y =β+ ∑ − − = − = l l

(d) y[n]=ln

(

2+ x[n]

)

. For an input xi[n],i=1,2, the output is yi[n]=ln

(

2+ xi[n]

)

, .

2 , 1 =

i Then, for an input x[n]= Ax1[n]+Bx2[n], the output is

(

2 [ ] [ ]

)

[ ] [ ].

ln ]

[n Ax1 n Bx2 n Ay1 n By2 n

y = + + ≠ + Hence the system is nonlinear.

For an input x[n]=δ[n], the output is the impulse response h[n]+ln

(

2+ δ[n]

)

. For n<0,h[n]=ln(2)≠0. Hence, the system is noncausal.

For a bounded input x[n] ≤ B<∞, the magnitude of the output samples are

(

2

)

.

ln ]

[n ≤ +B <∞

y As the output is also a bounded sequence, the system is BIBO stable.

(21)

] [

] [

1 n x n no

x = − then y1[n]=ln

(

2+ x[nno]

)

=y[nno]. Hence, the system is time-invariant.

(e) with a nonzero constant. For an input the output

is Then, for an input

], 2 [ ] [nxn+ y xi[n],i=1,2, ], 2 [ ] [nxn+ yi i i =1,2. x[n]= Ax1[n]+Bx2[n], the output is ]. [ ] [ ] 2 [ ] 2 [ ] [n A x1 n B x2 n Ay1 n By2 n

y = α − + + α − + = + Hence the system is linear.

For an input x[n]=δ[n], the output is the impulse response h[n]=αδ[−n+2]. For ,

0 <

n h[n]=0. Hence, the system is causal.

For a bounded input x[n] ≤ B<∞, the magnitude of the output samples are .

]

[n = Bα <∞

y As the output is also a bounded sequence, the system is BIBO stable. Finally, let y[n] and y1[n] be the outputs for inputs x[n] and x1[n], respectively. If

] [

] [

1 n x n no

x = − then y1[n]=αx1[−n+2]=αx[−(nno)+2]=y[nno]. Hence, the system is time-invariant.

(f) y[n]= nx[ −4]. For an input xi[n],i=1,2, the output is yi[n]=xi[n−4],i=1,2. Then, for an input x[n]= Ax1[n]+Bx2[n], the output is y[n]= Ax1[n−4]+Bx2[n−4]

]. [ ] [ 2 1 n By n Ay +

= Hence the system is linear.

For an input x[n]=δ[n], the output is the impulse response h[n]= nδ[ −4]. For n<0, .

0 ]

[n =

h Hence, the system is causal.

For a bounded input x[n] ≤ B<∞, the magnitude of the output samples are .

]

[n = B<∞

y As the output is also a bounded sequence, the system is BIBO stable. Finally, let y[n] and y1[n] be the outputs for inputs x[n] and x1[n], respectively. If

] [

] [

1 n x n no

x = − then y1[n]=x[nno−4]=y[nno]. Hence, the system is time-invariant.

2.37 Let and be the outputs of a median filter of length for inputs and , respectively. If ] [n y y1[n] 2K+1 x[n] ] [ 1 n x x1[n]=x[nno], then } ] [ , ], 1 [ ], [ ], 1 [ , ], [ { med ] [ 1 1 1 1 1 1 n x n K x n x n x n x n K y = − K − + K + } ] [ , ], 1 [ ], [ ], 1 [ , ], [ { med x nnoK x nnox nno x nno + x nno +K = K K ]. [n no y

= Hence, the system is time-invariant.

2.38 y[n]=x[n+1]−2x[n]+x[n−1]. For an input xi[n],i=1,2, the output is . 2 , 1 ], 1 [ ] [ 2 ] 1 [ ] [n =x n+ − x n +x ni=

yi i i i Then, for an input x[n]= Ax1[n]+Bx2[n], the output is ] 1 [ ] 1 [ ] [ 2 ] [ 2 ] 1 [ ] 1 [ ] [n =Ax1 n+ +Bx2 n+ − Ax1 nBx2 n +Ax1 n− +Bx2 ny ]. [ ] [ 2 1 n By n Ay +

= Hence the system is linear.

If x1[n]=x[nno], then y1[n]= x[nno +1]−2x[nno]+x[−non−1]=y[nno]. Hence, the system is time-invariant.

(22)

The impulse response of the system is h[n]=δ[n+1]−2δ[n]+δ[n−1]. Now . 1 ] 0 [ ] 1 [− =δ =

h Since h[n]≠0 for all values of n<0, the system is noncausal.

2.39 y[n]=x2[n]−x[n−1]x[n+1]. For an input xi[n],i=1,2, the output is . 2 , 1 ], 1 [ ] 1 [ ] [ ] [n =x2 nx nx n+ i =

yi i i i Then, for an input the

output is ], [ ] [ ] [n Ax1 n Bx2 n x = +

(

[ ] [ ]

) (

[ 1] [ 1]

)(

[ 1] [ 1]

)

] [n = Ax1 n +Bx2 n 2 − Ax1 n− +Bx2 nAx1 n+ +Bx2 n+ y

Hence the system is nonlinear. ]. [ ] [ 2 1 n By n Ay + ≠ If x1[n]=x[nno], then y1[n]= x12[n]−x1[n−1]x1[n+1] ] 1 [ ] 1 [ ] [ 2 +

=x n no x n no x n no =y[nno]. Hence, the system is time-invariant.

The impulse response of the system is Since

for all values of

]. [ ] 1 [ ] 1 [ ] [ ] [n 2 n n n n h =δ −δ − δ + =δ 0 ] [n =

h n<0, the system is causal.

2.40 . ] 1 [ ] [ ] 1 [ 2 1 ] [ ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ − + − = n y n x n y n

y Now for an input x[n]=αµ[n], the output converges to some constant

] [n

y

K as n→∞. The input-output relation of the system as reduces to ∞ → n ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ α + = K K K 2 1

from which we get K2 =α or in other words .

α =

K

For an input xi[n],i=1,2, the output is , 1,2. ] 1 [ ] [ ] 1 [ 2 1 ] [ ⎟⎟ = ⎠ ⎞ ⎜⎜ ⎝ ⎛ − + − = i n y n x n y n y i i i i Then,

for an input x[n]= Ax1[n]+Bx2[n], the output is . ] 1 [ ] [ ] [ ] 1 [ 2 1 ] [ 1 2 ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ − + + − = n y n Bx n Ax n y n y

On the other hand,

⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ − + − = + ] 1 [ ] [ ] 1 [ 2 1 ] [ ] [ 1 1 1 2 1 n y n Ax n Ay n By n Ay [ ]. ] 1 [ ] [ ] 1 [ 2 1 2 2 2 y n n y n Bx n By ⎟⎟≠ ⎠ ⎞ ⎜⎜ ⎝ ⎛ − + − +

Hence the system is nonlinear.

If x1[n]=x[nno], then [ ]. ] 1 [ ] [ ] 1 [ 2 1 ] [ 1 1 1 o y n no n y n n x n y n y ⎟⎟= − ⎠ ⎞ ⎜⎜ ⎝ ⎛ − − + − = Hence, the system is time-invariant. 2.41 y[n]=x[n]−y2[n−1]+y[n−1].

For an input the output is Then, for an input

, 2 , 1 ], [n i= xi yi[n]= xi[n]−yi2[n−1]+yi[n−1],i=1,2. ], [ ] [ ] [n Ax1 n Bx2 n x = + the output is ]. 1 [ ] 1 [ ] [ ] [ ] [n =Ax1 n +Bx2 ny2 n− +y n

References

Related documents