step response of a signal

1 回表示 (過去 30 日間)
Eliraz Nahum
Eliraz Nahum 2018 年 12 月 8 日
回答済み: Star Strider 2018 年 12 月 8 日
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 Center および File ExchangeDigital Filter Analysis についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by