Help with TF and STEP function

7 ビュー (過去 30 日間)
Bruno Souza
Bruno Souza 2018 年 8 月 19 日
コメント済み: Star Strider 2018 年 8 月 20 日
Hi, I have a transfer function considering as input the function "STEP". I need to know whats is the value of this function when the time is Inf. How can I do that in a simple way. I have it:
TF1 = tf([3 7],[1 2 5])
h2 = stepplot(FT)
grid on
Thanks

採用された回答

Star Strider
Star Strider 2018 年 8 月 19 日
See if this does what you want:
TF1 = tf([3 7],[1 2 5])
figure
h2 = step(TF1, Inf);
figure
stepplot(TF1)
grid on
SteadyStateValue = h2(end)
SteadyStateValue =
1.397791589266900
The additional step call is necessary because stepplot does not give up its secrets willingly.
  2 件のコメント
Bruno Souza
Bruno Souza 2018 年 8 月 19 日
thank you!
Star Strider
Star Strider 2018 年 8 月 20 日
As always, my pleasure!

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 8 月 19 日
I do not know what the real way of handling this is, but:
In any case in which the degree of the denominator is not equal to the degree of the numerator, the limit towards infinity is going to be ((sign of leading coefficient of numerator) / (sign of leading coefficient of denominator)) /(infinity to the (degree of denominator minus degree of numerator)) .
In your case that would be ((1)/(1)) / (infinity^(3-2)) which would be 0.
tf() arranges so that leading negative coefficients in the denominator are transferred to the numerator, so for example tf([3 7],[-1 2 5]) is treated as tf([-3 -7], [1 -2 -5]) . So if you extract the coefficients from the tf, you do not need to examine the sign of the denominator, as you can assume it will be positive.
Short summary: if degree of numerator is greater than degree of denominator, then you will go to +/- infinity at infinity; if the degree of denominator is greater than degree of numerator, then you will go to +/- 0 at infinity. The analysis for equal degree takes more work.

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by