how can i find the lsim info for this transfer function
2 次查看(过去 30 天)
显示 更早的评论
i'm trying to find lsim info for this transfer function, i know the code
s=lsiminfo
this code is like
stepinfo(sys)
which is great, but i need to use lsim.
this is my Matlab program:
G=tf([],[]); % ANY KIND OF TRANSFER FUNCTION
t=0:0.001:1;
u=100*heaviside(t); % Step in 100 level
lsim(G,u,t) % Liniar Simulation
LsimInfo=lsiminfo(G)
i need relevant data for both the Heaviside (step) that applied into the transfer function but i don't know how to get this info.
1 个评论
Azzi Abdelmalek
2013-5-29
what do you mean by
i need relevant data for both the Heaviside (step) that applied into the transfer function
采纳的回答
Wayne King
2013-5-29
编辑:Wayne King
2013-5-29
G = tf(1,[1 2 5]); % whatever your transfer function is
t=0:0.001:1;
u=100*heaviside(t); % Step in 100 level
resp = lsim(G,u,t);
S = lsiminfo(resp,t);
The above user resp(end) as the steady-state value.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robust Control Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!