Final Assignment Signal Spring 2020 - GUC

Preview:

Citation preview

1

German University in Cairo

Faculty of IET

Prof. Dr. Ahmed El-Mahdy

COMM 401 Signal & System Theory

Final Assignment

Deadline: (31/05/2020)

Full Name:

Student's ID:

Tutorial Number:

TA Name:

.

CHEATING CASES ARE GRADED ZERO!

Question

Number

1 2 3 4 5 6 7 8 9 Total

Obtained

score

Maximum

Score

2

:Directions

You should send the assignment with the cover page.

Solve in the pages following each problem.

Solution must be individual, grouping is totally refused.

For the practical question, you can use MATLAB. If you do not have it ) or Octave (very similar to MALAB-same commands). https://www.gnu.org/software/octave/. Write down the code used and indicate the final results for each part. All codes and figures should be printed from Matlab itself.

The deadline for submitting the assignment will be: May 31/05/2020. The system will not accept any delayed submission

Important note: Substitute with the numbers a, b, and c from the first step in your solution where a, b, and c are given as:

If you have two zeros in your ID, convert the zero to 1

Example: ID=46-2004, then a=2, b=1, c=4

3

Problem (1):

(a) Check the linearity, causality, time invariance, and stability of the following system

and show your answer by equations: 𝑦(𝑑) = 2𝑏π‘₯(𝑑)cos (𝑑 + 𝑐)

(b) Check if the following systems are invertible or not and show your answer:

(i)𝑦(𝑑) = ln (𝑏π‘₯(𝑑)) (ii) 𝑦(𝑑) = sin (π‘₯(𝑑)) (iii)𝑦(𝑑) =𝑐𝑑π‘₯(𝑑)

𝑑𝑑

If the system is invertible determine the inverse system

--------------------------------------------------- Solution--------------------------------------------

4

5

Problem (2):

(a) Find the convolution of )(tx and h(t) where:

π‘₯(𝑑) = 2π‘Ž 𝑒(𝑑)𝑒 (𝑇

8βˆ’ 𝑑) and β„Ž(𝑑) = 2π‘Ž π‘π‘œπ‘  (

2πœ‹ 𝑑

𝑇) 𝑒(𝑑) 𝑒 (

𝑇

8βˆ’ 𝑑)

(b) Consider the interconnection of the Linear Time-Invariant (LTI) systems shown in

the Figure and have impulse responses: β„Ž1[𝑛] = 𝑏𝛿[𝑛 βˆ’ 1] and

β„Ž2[𝑛] = β„Ž3[n]=[n+1] c u[n]

.][1 nh to the system ][nhinvsystem (i) Determine the impulse response of the inverse

(ii) Determine (without drawing) the overall impulse response of the system ][nh .

(iii) Determine the response of the system shown in the figure to the input:

π‘₯[𝒏] =a 𝛿[𝑛 + 2] + 𝑏𝛿[𝑛 βˆ’ 1]

--------------------------------------------------- Solution--------------------------------------------

+

+

6

7

8

Problem (3):

Given the periodic signal x[n] with period N=6c as shown in the following figure. The amplitude of the impulses are: 1 and 2b as shown. Find the Fourier series coefficients of this signal.

--------------------------------------------------- Solution-----------------------------------------------

-6c 0 6c 12c

1

2b

1

2b

9

Problem (4):

Find Fourier series coefficients of the following periodic continuous time

signal with period T=2c:

--------------------------------------------------- Solution-----------------------------------------------

(a)

aπ‘’βˆ’π‘‘ a

a-

10

11

Problem (5):

(a) Derive Fourier transform of the following signal: π‘₯(𝑑) = 2π‘π‘’βˆ’b𝑑

2a u(t). Then plot the magnitude and phase responses.

(b) Find the inverse Fourier transform of the signal:

𝑋(π‘—πœ”) = π‘—πœ” π‘Žπ‘ sin(πœ”) 𝑏 sin (2πœ”)

πœ”2

--------------------------------------------------- Solution-----------------------------------------------

(a)

12

13

Problem (6):

(a) Use the duality property to find Fourier transform of: 𝑦(𝑑) =2𝑏𝑑

(1+𝑑2)2

(b) The signal π‘₯(𝑑) = 𝑐𝑠𝑖𝑛(𝑑𝑇1)

𝑑 is applied to the input of an ideal bandpass

filter with frequency response:

𝐻(π‘—πœ”) = {𝑏 πœ”π‘1 ≀ |πœ”| ≀ πœ”π‘2

0 π‘œπ‘‘β„Žπ‘’π‘Ÿπ‘€π‘–π‘ π‘’

Where πœ”π‘1 = 𝑇1/2 and πœ”π‘2 = 𝑇1

(i) Plot the frequency spectrum of the output signal π‘Œ(π‘—πœ”).

(ii) Find y(t) using the properties of Fourier transform.

--------------------------------------------------- Solution-----------------------------------------------

(a)

14

15

Problem (7):

(a) A signal π‘š(𝑑) = 2π‘π‘π‘œπ‘ 3(2πœ‹π‘103𝑑 + 0.3𝑏) is to be sampled. Find the

minimum sampling angular frequency required.

(b) The signal π‘₯(𝑑) =𝑏𝑠𝑖𝑛(πœ‹ 𝑑)

πœ‹ 𝑑 is modulated by multiplication of c(t) to produce

y(t) as shown in the following figure:

Find and draw Fourier transform of y(t) if 𝑐(t) = π‘π‘π‘œπ‘ (2πœ‹π‘π‘‘) (Use the

Fourier transform)

------------------------------------------ Solution------------------------------------------------

(a)

x(t)

)(tc

y(t)

16

17

Problem (8): (MATLAB Problem)

Write a Matlab Function that plots the of the following signal in the discrete time domain for

any value of the shift π‘˜ and for any range of 𝑛:

π‘₯(𝑛 βˆ’ π‘˜) = {𝑐(𝑛 βˆ’ π‘˜)π‘’π‘›βˆ’π‘˜ , 𝑛 β‰₯ π‘˜

0, 𝑛 < π‘˜

Problem (9): (MATLAB Problem)

Subplot the following signals in the same figure choose an appropriate range for 𝑛:

- π‘₯(𝑛) = b cos (0.1bπœ‹π‘› +πœ‹

6)

- 𝑦(𝑛) = 2𝑛 sin (0.1b πœ‹π‘› +πœ‹

3)

-----------------------------------