How to write the matlab codes for the following transfer function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
T(z)=(5-G(z)*z^-5)/(1-5*G(z)*z^-5);
where G(z) is a separate transfer function in Z domain.
0 Kommentare
Antworten (1)
Aquatris
am 3 Aug. 2018
Bearbeitet: Aquatris
am 3 Aug. 2018
Assuming G(z) is a SISO(single input-single output) system, here is the code;
z = tf('z');
G = z/(z+1);
T = minreal(5-G*z^-5)/(1-5*G*z^-5);
You need to specify the sample time of the system by simply modifying the code;
z = tf('z',dt)
0 Kommentare
Siehe auch
Kategorien
Mehr zu State-Space Control Design and Estimation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!