フィルターのクリア

Step func at time different then t = 0

1 回表示 (過去 30 日間)
Alexandru Miculescu
Alexandru Miculescu 2016 年 11 月 15 日
回答済み: Arkadiy Turevskiy 2016 年 12 月 6 日
Hi. I want to plot the step response of (10*g0) at t = 5. How can i do that? Thank you!
if true
clc;
G = tf([10],[10 1]);
H = 1;
g0 = feedback(G,H)
Kp = 2.4;
Ki = 1.5;
Kd = 0;
C = pid(Kp,Ki,Kd);
g0 = feedback(C*G,H);
step(10*g0);
end
  1 件のコメント
Akash Kalghatgi
Akash Kalghatgi 2016 年 11 月 15 日
Provide a phase shift, like (10*g0+ "phase shift") I don't know the exact syntax for MATLAB, so you've got to search it. Type 'help (function name)' in command window for more information about any function

サインインしてコメントする。

回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2016 年 12 月 6 日
The question is not clear. Does a. Step happens at 0 secs and you want to show the response at 5 secs? or b. Step happens at 5 secs?
Assuming you ask about the latter:
[Y,T]=step(10*g0);
plot(T+5,Y)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by