Clear Filters
Clear Filters

Help with TF and STEP function

1 view (last 30 days)
Bruno Souza
Bruno Souza on 19 Aug 2018
Commented: Star Strider on 20 Aug 2018
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

Accepted Answer

Star Strider
Star Strider on 19 Aug 2018
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.

More Answers (1)

Walter Roberson
Walter Roberson on 19 Aug 2018
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!