A transfer function out of a complex function
Mostrar comentarios más antiguos
Hi everyone, got this problem when trying to design a PID controler, so the function is here:
L=(4*exp(-t)+4*t+6)/10
i just can't get it right with all this num and den coefficients since this is a combination of ordinary function and an exponential fucntion. the question is: how do i turn it to a transfer function? got lost really.
Thanks, Sydney.
2 comentarios
Azzi Abdelmalek
el 5 de Jun. de 2013
What is L?
Sydney Flowers
el 5 de Jun. de 2013
Editada: Sydney Flowers
el 5 de Jun. de 2013
Respuestas (2)
David Sanchez
el 5 de Jun. de 2013
substitute in your L function:
exp(x) = 1 + x + (x^2)/4 % Taylor expansion
Operate until you obtain your num and den, then:
my_sys = tf( num, den )
2 comentarios
Azzi Abdelmalek
el 5 de Jun. de 2013
what are num and den?
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
If L is your impulse response, Maybe L is
%L(t)=0.1(4exp(-t)-4t+6)u(t) % u(t) is a step function
The transfer function of your system is the Laplace transform of your impulse response
%L(p)=0.1*(4*1/(p+1)-4*1/p^2+6/p)
%L(p)=0.4/(p+1)-0.4/p^2+0.6/p=(p^2+0.2p-0.4)/(p^3+p^2)
num=[1 0.2 -0.4]
den=[1 1 0 0]
H=tf(num,den)
11 comentarios
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
What do you mean?
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
Please explain clearly, you've posted a function L(t) which is a temporal function, can you specify if L(t) is a pulse response or a transfer function, and what t represent?
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
You did not answer my question, is L(t) a pulse response or what? if not you should explain how this function describe your system, because in your function, there is no neither input signal, neither output.
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
Ok, in your equation can you specify what represent each parameter or signal
Sydney Flowers
el 5 de Jun. de 2013
Azzi Abdelmalek
el 5 de Jun. de 2013
Do you mean
h: your output signal
m,c,k and F are constant
What about your input signal?
Sydney Flowers
el 5 de Jun. de 2013
Categorías
Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!