Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each of the systems please show a system diagram and plots of the impulse response 4 Difference Equations In this section, we will study

image text in transcribedFor each of the systems please show a system diagram and plots of the impulse response

4 Difference Equations In this section, we will study the effect of two discrete-time filters. The first filter, y-S1 obeys the difference equatiorn and the second filter, y = S2 , obeys the difference equation y(n)- ^y(n -1) +x(n) Write Matlab functions to implement each of these filters. Then use these functions to calculate the impulse response of each of the following 5 systems: S1, S2, S1(S2) (i.e., the series connection with Si following S2), S2(S1) (i.e., the series connection with S2 following Si), and S1 S2. Note: In Matlab, when implementing a difference equation using a loop structure, it is very good practice to pre-define your output vector before entering into the loop. Otherwise, Matlab has to resize the output vector at each iteration. For example, say you are using a FOR loop to filter the signal x(n), yielding an output y(n). You can pre-define the output vector by issuing the command y - zeros(1,N) before entering the loop, where N is the final length of y. For long signals, this speeds up the computation dramatically INLAB REPORT: For each of the five systems, draw and submit a system diagram (use only delays, multi- plications and additions as in Fig. 1). Also submit plots of each impulse response. Discuss ur observations 4 Difference Equations In this section, we will study the effect of two discrete-time filters. The first filter, y-S1 obeys the difference equatiorn and the second filter, y = S2 , obeys the difference equation y(n)- ^y(n -1) +x(n) Write Matlab functions to implement each of these filters. Then use these functions to calculate the impulse response of each of the following 5 systems: S1, S2, S1(S2) (i.e., the series connection with Si following S2), S2(S1) (i.e., the series connection with S2 following Si), and S1 S2. Note: In Matlab, when implementing a difference equation using a loop structure, it is very good practice to pre-define your output vector before entering into the loop. Otherwise, Matlab has to resize the output vector at each iteration. For example, say you are using a FOR loop to filter the signal x(n), yielding an output y(n). You can pre-define the output vector by issuing the command y - zeros(1,N) before entering the loop, where N is the final length of y. For long signals, this speeds up the computation dramatically INLAB REPORT: For each of the five systems, draw and submit a system diagram (use only delays, multi- plications and additions as in Fig. 1). Also submit plots of each impulse response. Discuss ur observations

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions

Question

Describe a persuasive message.

Answered: 1 week ago

Question

Identify and use the five steps for conducting research.

Answered: 1 week ago

Question

List the goals of a persuasive message.

Answered: 1 week ago