How can i plot euler transformation system ?

4 次查看(过去 30 天)
hello in my question I have to derive the bilinear TF and Euler TF. I have completed the bilinear part but i have no idea how to do Eular part I am trying to slove this for hours now and still not able to do that. I want to implement forward type but i dont know where to start. can someone please write the sample code. Thank you below is my Question Use sampling period of 0.1 Sec and both Bilinear and Euler transformations to convert the compensated systems into digital (discrete). Provide the overall closed loop transfer function (indiscrete domain) andraw the step responses of the systems obtained below is my TF. Fb =
20 s^2 + 60 s + 700
-----------------------------------------------
83 s^3 + 210.5 s^2 + 300 s + 700

回答(1 个)

Divit
Divit 2023-9-1
I understand that you have a continuous-time transfer function which you would like to convert to discrete-time domain using the Euler method, you can follow these steps: 
num = [20 60 700];
den = [83 210.5 300 700];
G = tf(num, den);
Ts = 0.1;
Gd = c2d(G, Ts, 'foh');
[numd, dend] = tfdata(Gd, 'v');
Gd_tf = tf(numd, dend, Ts);
step(Gd_tf);
I recommend you refer the following documentation links to know more about tf”, “c2d”, “tfdata, “step” functions:
I hope the answer addresses your queries.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by