EEE321 Lab Work 2 Solved

$24.99 $18.99

Work on these questions as a homework first: answer the analytical parts of the questions and write the answers on a paper, write a MATLAB program (or many such programs) to perform the tasks that need computation, print your MATLAB code(s), print your computer outputs (numerical and graphic) whenever needed; the collection of all those…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Categorys:

Description

5/5 – (2 votes)

Work on these questions as a homework first: answer the analytical parts of the questions and write the answers on a paper, write a MATLAB program (or many such programs) to perform the tasks that need computation, print your MATLAB code(s), print your computer outputs (numerical and graphic) whenever needed; the collection of all those will be your lab report. Bring your code (in a computer readible form) to the lab; transfer your code to one of the lab computers; run and show your TA the results. Answer all the questions your TAs may ask. Modify your lab report, including any modifications needed in your MATLAB codes, during the lab hours in the lab. Finally, hand your TAs the lab report prepared as described above. Your report will get a grade based on your preparedness when you come to the lab, performance of your codes in the lab (any modifications needed and conducted during the lab hours included), your answers to the oral questions during your demo(s) in the lab, and the entire content of the submitted report at the end of the lab.

YOU MAY NOT USE THE RELATED MATLAB COMMAND DIRECTLY TO PERFORM CON-VOLUTIONS, FOR THIS LAB WORK. INSTEAD, YOU SHOULD COMPUTE THE CONVOLUTIONS VIA YOUR OWN EXPLICIT PROCEDURES USING ADDITIONS, MULTIPLICATIONS, ETC.

******************************

1- The impulse response of a discrete linear time invariant system is h[n] = (1/2)nu[n − 2]. Plot this impulse response. Is this system causal? Is it stable?

Find the output of this system to the input functions below, analytically. Then write MATLAB programs to compute the outputs and compare your analytical answers to those MATLAB outputs. (For infinite size outputs, it is sufficient to compute a meaningful finite size segment of those signals.) Print the MATLAB outputs. Make sure that the graphs are correctly labeled; also make sure that the index n in your graphs shows the correct index.

a)

x1[n] =

1 if 0 ≤ n ≤ 10

{ 0 else

b)

1

0 ≤ n ≤ 5

if

x2[n] =

1

if 6

n ≤ 10

2

if 11

n 16

0

else

(Hint: Note that you may write x2[n] = x1[n] 2x[n − 6] and use the fact that the system is LTI.)

c)

{

x3[n] =

ej(2/3)n if

4

n

16

0 else

d)

{

x4[n] =

sin[(2/3)n]

if

4

n

16

0

else

(Hint: Note that x4

[n] = Im{x3[n]}.)

e)

{

x5[n] =

cos[(2/3)n]

if

4

n

16

0

else

(Hint: Note that x5

[n] = Re{x3[n]}.)

f)

x6[n] = 2x1[n] − j3x2[n]

(Hint: You might get the answers quickly if you use the properties of LTI systems.)

2- Repeat Q1 for another LTI system whose impulse response is h1[n] = 3(1/2)nu[n−2] + (1/2)(n−5)u[n−7].

(Hint: You may want to use your answers to Q1 and the fact that the system is LTI.)

(cLevent Onural, 2018. Prepared only for the students registered to EEE321 course at Bilkent University in 2018-2019

fall semester. Not to be distributed to others by any means.)

EEE321 Lab Work 2 Solved
$24.99 $18.99