How can i plot euler transformation system ?
2 次查看(过去 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
2 个评论
Image Analyst
2022-12-23
Is this different than this: https://www.mathworks.com/matlabcentral/answers/1883422-how-to-plot-the-eular-transformation?s_tid=srchtitle
回答(1 个)
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:
- https://www.mathworks.com/help/control/ref/tf.html
- https://www.mathworks.com/help/ident/ref/dynamicsystem.c2d.html
- https://www.mathworks.com/help/ident/ref/dynamicsystem.tfdata.html
- https://www.mathworks.com/help/ident/ref/dynamicsystem.step.html
I hope the answer addresses your queries.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!