MATLAB CODE:
clc
clear all
close all
syms z
H(z) = (1-2.4*z^-1+2.88*z^-2)/(1-0.8*z^-1+0.64*z^-2);
Numerator = [1 -2.4 2.88];
Denominator = [1 -0.8 0.64];
[z,p] = tf2zpk(Numerator,Denominator);
fprintf('Zeros:\n')
disp(z)
fprintf('Poles:\n')
disp(p)
zplane(Numerator,Denominator)
title('Pole-Zero Plot')
grid on
figure
freqz(Numerator,Denominator)
title('Frequency Response')
OUTPUT:
MATLAB The z-transform of LTI systems can be expressed as a ratio of two polynomials in z-1 Also,...
5. The z transform is a very useful tool for studying difference equations. Often difference and differential equations are used to describe causal systems and only the causal solution is of interest. This is the "initial condition" problem of a differential equations course. But both difference and differential equations describe more than just the causal system. For instance, "backwards" solutions and "two point boundary value" solutions. One way in which to think about the problem is the ROC of the...
Please do part C only, thank you. Exercise 1 (Transfer Function Analysis) MATLAB provides numerous commands for working with polynomials, ratios of polynomials, partial fraction expansions and transfer functions: see, for example, the commands roots, poly, conv, residue, zpk and tf (a) Use MATLAB to gener ate the continuous-time transfer function H5+15)( +26(s+72) s(s +56)2(s2 +5s +30) H(s) displaying the result in two forms: as (i) the given ratio of factors and (ii) a ratio of two polynomials. (b) Use...
PID controller: KG (5) - K(s’+1.55 +0.5) Plant: G (s)=- 1 (20s +1)(10s +1)(0.5s +1) For this control system, do the following tasks. Advice: Before you start, it is advised that you convert G,(s) to a standard form so that the leading coefficients of the denominator polynomials become 1 (without altering the overall transfer function). (1) Plot the root locus for 0 <K<using a computer tool, e.g., Matlab tools such as rlocus(), rltool() or any appropriate computer tools. Also, read...