step response of a signal

1 次查看(过去 30 天)
hey,
how can I insert a step signal type which isn't equal to one, but of a type const*1(t).
the command step(sys) gives the response for const=1.

采纳的回答

Star Strider
Star Strider 2018-12-8
Your ‘const*t’ signal is a ramp function. Probably the easiest way to do what you want is to use the lsim function:
s = tf('s');
H = s/(s^2 + 1); % Arbitrary System
t = linspace(0,100); % Time Vector
Const = 4.2;
u = Const * t; % Ramp Function
figure
lsim(H, u, t); % System Response To Ramp
Make necessary changes to the ‘t’ vector and ‘Const’ to work with your code.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Digital Filter Analysis 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by