Question

2. A system is described by the following difference equation n]1.5y[n0.56y[n -2]+x{n-0.2x{n-] a) Find the transfer function

0 0
Add a comment Improve this question Transcribed image text
Answer #1

2) a) Transfer function:

Apply z transform to the difference equation,

Y(z)=1.5 z-1 Y(z) - 0.56 z-2 Y(z) + X(z) -0.2 z-1X(z)

Y(z)[1-1.5 z-1+0.56 z-2 ]= X(z)[1 -0.2 z-1]

Y(z)   [1 -0.2 z-1]

H(z)= ------ = _______________

X(z)   [1-1.5 z-1+0.56 z-2 ]

Analyjcal erpreut Xl2) C1-0.22) C-08-) - (1- 02/07) C1-0 yt2)A 0-714 1-os72 Co.22 (1-0.75 - 1- 0.2/08) (1-070i-) -0125x025 -

0.22 8.833 (i-0)1-0)2xo3

MATLAB:


clc;close all;clear all;
b=[1 -0.2]
a=[1 -1.5 0.56]
N=50
n=0:1:N-1
figure;
x=ones(1,N)
y=filter(b,a,x)

subplot(211)
stem(n,y,'r')
xlabel('n')
ylabel('y(n)')
title('Response using filter command')

subplot(212)
%from manually calculated analytical expression of y(n)
y=((-24*(0.8.^n))+(11.66 *(0.7.^n))+13.33).*(n>=0)
stem(n,y,'m');xlabel('n')
ylabel('y(n)')
title('from manually calculated analytical expression of y(n)')

Response using filter command 14 12 10 6 4 2 40 50 10 20 30 n from manually calculated analytical expression of y(n) 14 12 10

Add a comment
Know the answer?
Add Answer to:
2. A system is described by the following difference equation n]1.5y[n0.56y[n -2]+x{n-0.2x{n-] a) Find the transfer fun...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the...

    (42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab to calculate the coefficients b) Simulate the response using Matlab (stem plot). Generate 50 points. (enter transfer function into Matlab and apply step input) (42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab...

  • A causal discrete-time system is described by the following difference equation: Use Matlab to write a...

    A causal discrete-time system is described by the following difference equation: Use Matlab to write a script to complete the following tasks. Turn in the output created by the Matlab "publish" utility. (a) Compute and plot the impulse response h[n], 0くn 〈 50. Use the function h=imp2(b, a , N ) to find the impulse response, and use the stem ) function to create the plot. (b) Let x[n] be defined by (n - 15)2 0n K 30 x[n] elsewhere...

  • For the causal filter below y(n) x(n) -20 eja 1-0.8e10 Write the difference equation(show the equation...

    For the causal filter below y(n) x(n) -20 eja 1-0.8e10 Write the difference equation(show the equation clearly and define coefficients) Give and plot the frequency response magnitude (show the equation clearly) Compute and plot the impulse response using MATLAB d a. b. c. Use MATLAB to determine steady state response due to x(n)-u(n) Write a MATLAB program to compute and plot the frequency response of the overall system. Give plots in dB and the program e. For the causal filter...

  • For the causal filter below y(n) x(n) -20 eja 1-0.8e10 Write the difference equation(show the equation...

    For the causal filter below y(n) x(n) -20 eja 1-0.8e10 Write the difference equation(show the equation clearly and define coefficients) Give and plot the frequency response magnitude (show the equation clearly) Compute and plot the impulse response using MATLAB d a. b. c. Use MATLAB to determine steady state response due to x(n)-u(n) Write a MATLAB program to compute and plot the frequency response of the overall system. Give plots in dB and the program e. For the causal filter...

  • calculate the unit step response of a system with the difference equation y[n]+1.5y[n-2]=x[n]-x[n-1], y[-1]=2 ,y[-2]=1

    calculate the unit step response of a system with the difference equation y[n]+1.5y[n-2]=x[n]-x[n-1], y[-1]=2 ,y[-2]=1

  • For the causal filter below x(п) y(n) -2j0 1 -0.8e 2j0 Write the difference equation(show the...

    For the causal filter below x(п) y(n) -2j0 1 -0.8e 2j0 Write the difference equation(show the equation clearly and define coefficients) а. b. Give and plot the frequency response magnitude (show the equation clearly) Compute and plot the impulse response using MATLAB Use MATLAB to determine steady state response due to x(n)=u(n) c. d. Write a MATLAB program to compute and plot the frequency response of the overall system. Give plots in dB and the program e. For the causal...

  • 1. Given the impulse response, h[n duration 50 samples. (-0.9)"u[n, find the step response for a step input of h-(0...

    1. Given the impulse response, h[n duration 50 samples. (-0.9)"u[n, find the step response for a step input of h-(0.9)-10:491 -ones (1,50) s- conv(u,h) 2. Plot h and u using stem function for 50 samples only stem(10:491, s(1:50) 1. Given a system described by the following difference equation: yIn] 1143yn 1 0.4128y[n -2 0.0675x[n0.1349xn 0.675x[n-2] Determine the output y in response to zero input and the initial conditionsy-11 and yl-2] 2 for 50 samples using the following commands: a -,-1.143,...

  • P2.19 A linear and time-invariant system is described by the difference equation y(n) 0.5y(n 10.25y(n 2)-x(n)...

    P2.19 A linear and time-invariant system is described by the difference equation y(n) 0.5y(n 10.25y(n 2)-x(n) + 2r(n - 1) + r(n -3) 1. Using the filter function, compute and plot the impulse response of the system over 0n100. 2. Determine the stability of the system from this impulse response. 3. If the input to this system is r(n) 5 3 cos(0.2Tm) 4sin(0.6Tn)] u(n), determine the 200 using the filter function response y(n) over 0 n

  • calculate the unit step response of a system with the difference equation y[n]+1.5y[n-2]=x[n]-x[n-1], y[-1]=2 ,y[-2]=1 which...

    calculate the unit step response of a system with the difference equation y[n]+1.5y[n-2]=x[n]-x[n-1], y[-1]=2 ,y[-2]=1 which one of these choose a)0.5(-0.5)^n-3(-1)^n b)0.75(-0.5)^n-2(-1)^n c)0.5(-0.25)^n-3(-1.5)^n d) 1(-0.5)^n-3(-1)^n

  • Consider a DT system with input x[n] and output y[n] described by the difference equation 4y[n+1]...

    Consider a DT system with input x[n] and output y[n] described by the difference equation 4y[n+1]+y[n-1]=8x[n+1]+8x[n] 73 Consider a DT system with input xin and output yin] described by the difference equation (a) What is the order of this system? (b) Determine the characteristic mode(s) of the system (c) Determine a closed-form expression for the system's impulse response hln]. 73 Consider a DT system with input xin and output yin] described by the difference equation (a) What is the order...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT