How can i plot euler transformation system ?
2 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 23 Dec 2022
Is this different than this: https://www.mathworks.com/matlabcentral/answers/1883422-how-to-plot-the-eular-transformation?s_tid=srchtitle
Answers (1)
Divit
on 1 Sep 2023
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!