Borrar filtros
Borrar filtros

Help with TF and STEP function

1 visualización (últimos 30 días)
Bruno Souza
Bruno Souza el 19 de Ag. de 2018
Comentada: Star Strider el 20 de Ag. de 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

Respuesta aceptada

Star Strider
Star Strider el 19 de Ag. de 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.
  2 comentarios
Bruno Souza
Bruno Souza el 19 de Ag. de 2018
thank you!
Star Strider
Star Strider el 20 de Ag. de 2018
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 19 de Ag. de 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.

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by