How can i plot euler transformation system ?
조회 수: 1 (최근 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개)
Omega
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!