Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a LTI system consisting of two sub-system and H1 and H2 connected in ca

ID: 2988532 • Letter: C

Question

Consider a LTI system consisting of two sub-system and H1 and H2 connected in cascade. The output y1[n] of sub-system H1 becomes the input x2[n] of sub-system H2. Suppose that the two sub-systems are described by the following difference equations: y1(n) = 0.2y1(n - 1) + x1(n) y2(n) = 0.3y2(n - 1) - 0.3y2(n - 2) + x2(n) - 0.25x2(n - 1) Write a MATLAB program to compute and plot the impulse response of the entire system. Is this system stable? Hint: Combine the two sub-systems into one by using the associative property of convolution (x1[n] + x2[n])x3[n] = x1[n] * (x2[n] * x3[n]) Write a MATLAB program to compute and plot the step response of the entire system. What is the steady-state value of the output? Explain your answer. Write a MATLAB program to compute and plot the output of the entire system to input signal x1[n] = cos(0.2 pi n).

Explanation / Answer

b )

  clc;
clear all;
N = input('Enter no. of samples');
a = [1,2];
b = [1,-4,-6];
[h,t] = impz(a,b,N)
subplot(2,1,1);
plot(t,h);
subplot(2,1,2);
stem(t,h);

C)

you rate for this den il send all the other solutions

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote